Re: Multiple cookies on the same computer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On 3/27/2009 at 10:19 AM, in message <6F.57.30978.D60ECC94@xxxxxxxxxxxx>, Shawn McKenzie <nospam@xxxxxxxxxxxxx> 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

 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux