Re: Multiple cookies on the same computer

From: Date: Fri, 27 Mar 2009 15:15:38 +0000
Subject: Re: Multiple cookies on the same computer
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-290764@lists.php.net to get a copy of this message
On Fri, 2009-03-27 at 09:59 -0400, Ken Watkins wrote: > >>> On 3/26/2009 at 10:24 PM, in message > >>> <0A88DC6E-0655-4565-B9A7-E21337FC0C65@bluerodeo.com>, dg <daneane@bluerodeo.com> wrote: > > On Mar 26, 2009, at 7:14 PM, Ken Watkins wrote: > > >> 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. > > >Each family member only uses her/his own page? Maybe set a unique > >cookie name based on each page? > > Hi. > > No, they all go to a common page. I may have to take Shawn's suggestion and just have them > login if I can't figure another way to do it. > > Thanks. > Ken > > > > You could have a landing page to the site, that consists of image links (you could use their photo for this?) and each link is in the order of page.php?person=mum etc. That would require an extra click, but no typing for a login, and should make the unique person process a bit more intuitive. Ash www.ashleysheridan.co.uk

« previous php.general (#290764) next »