Re: Multiple cookies on the same computer
| From: | Ken Watkins | Date: | Fri, 27 Mar 2009 15:08:29 +0000 |
| Subject: | Re: Multiple cookies on the same computer | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290763@lists.php.net to get a copy of this message | ||
>>> On 3/27/2009 at 10:19 AM, in message <6F.57.30978.D60ECC94@pb1.pair.com>, Shawn
>>> McKenzie <nospam@mckenzies.net> wrote:
>> Optionally, I just thought that if this was too much for them to
>> do/remember, they could have their own bookmarks, like "Dad - Yoursite"
>> (http://www.yoursite.com/index.php?person=dad) and Mom - Yoursite
>> (http://www.yoursite.com/index.php?person=mom) and set the
>> session/cookie or whatever you're doing based on $_GET['person'].
>>
>> I would still opt for the login though, even if not secure.
>>
>>
>No, they use their own cookies so if you want to do it that way, use:
>$_SERVER['HTTP_USER_AGENT'] and set the cookie based upon the browser.
>
>Another thought I had was if you can add domain aliases,
>dad.yoursite.com and mom.yoursite.com, then they will each have
>different cookies.
Shawn -
Yes, domain aliases sound good too. OK, you've given me a couple of good suggestions, and one
of them should suit me :)
Thanks much.
Ken