Re: multiple sessions for the same user
| From: | Ashley Sheridan | Date: | Thu, 03 Apr 2014 20:54:02 +0000 |
| Subject: | Re: multiple sessions for the same user | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323143@lists.php.net to get a copy of this message | ||
Ask the user if they have seen this behavior elsewhere to establish a base. It really doesn't
seem reasonable, but could be achieved with a token based request system. Thing is, it would not
remember users between visits.
On 3 April 2014 21:48:59 BST, Aziz Saleh <azizsaleh@gmail.com> wrote:
>On Thu, Apr 3, 2014 at 4:45 PM, Jonathan Sundquist
><jsundquist@gmail.com>wrote:
>
>> Use either two completely different browsers or if they need to use
>the
>> same browser open one of the sessions in privacy mode.
>>
>>
>> On Thu, Apr 3, 2014 at 3:43 PM, Larry Martell
><larry.martell@gmail.com
>> >wrote:
>>
>> > I have a php app that uses a session to share data across requests
>> > (using session_start())
>> >
>> > I have a situation where a user wants to open 2 invocations of the
>app
>> > in 2 browser tabs and look at different things, but because of the
>> > session, both tabs have the same data. Is there a way to have a
>> > separate session for each tab they open?
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>> >
>>
>
>I never use sessions except to identify the identity of the user.
>Everything else is handled by the app. I guess that is just me.
>
>Maybe try adding a GET identifier (or post, etc..) to the request so
>you
>can distinguish between the data and store the data in the session in
>an
>array instead?
Thanks,
Ash