Re: Multiple cookies on the same computer

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

 



>>> On 3/27/2009 at 8:10 PM, in message <49CD6B07.6010004@xxxxxxx>, "Michael A. Peters" <mpeters@xxxxxxx> wrote:
Ken Watkins wrote:
>> I have set up a blog site where my family creates posts and they get emailed to members of the family. To keep up with their identities, I created a script for each family member to run (dad.php, mom.php, etc.), and it sets a cookie on each computer and uses sessions so I know who is connecting. It works great unless I want to share a computer between two users.
>> 
>> I thought I had a solution: install both Firefox and IE on the same computer and set two different cookies. But this doesn't seem to work. My question is: Is it possible to set one cookie for IE and another for Firefox so that, depending on which browser is used, I can tell who is connecting to the blog? If this is not possible, is there another easy way to do it?
>> 
>> Thanks for your help.
>> 
>> - Ken Watkins
>> 

>Why not just use session cookies that expire as soon as a session is 
>over (browser quits) and use a login?

Hi Michael.

Thanks for the suggestion. I'm trying to keep it as simple as possible with as few keystrokes (for the user) as possible, but your suggestion may be the best way to go.

Thanks!

Ken Watkins 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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