RE: [PHP] php, sessions and ie

From: Date: Tue, 04 Apr 2006 21:11:19 +0000
Subject: RE: [PHP] php, sessions and ie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233223@lists.php.net to get a copy of this message
I let GC and cookie expiration handle ending the session... The cookie was only set for 15 minutes Dan ------------------- http://chrome.me.uk -----Original Message----- From: Dallas Cahker [mailto:christmasfruitcake@gmail.com] Sent: 04 April 2006 19:41 To: php-general@lists.php.net Subject: Re: [PHP] php, sessions and ie How are you destroying the sessions if they leave the site (dont logout). do you check on activity or something else? On 4/4/06, Dan Parry <dan@virtuawebtech.co.uk> wrote: > > I have had some issues with sessions and IE in the past and used the > following code to start the session > > <?php > if (isset($SessID)){ session_id($SessID); } > session_start(); > header("Cache-control: private"); // IE 6 Fix. > setcookie("SessID", session_id(), time() + 60 * 15); > ?> > > Now, though, I always use a DB to store sessions... Much nicer > > HTH > > Dan > > ----------------------------------------------------- > Dan Parry > Senior Developer > Virtua Webtech Ltd > http://www.virtuawebtech.co.uk > -----Original Message----- > From: Dallas Cahker [mailto:christmasfruitcake@gmail.com] > Sent: 04 April 2006 16:19 > To: php-general@lists.php.net > Subject: [PHP] php, sessions and ie > > I've been hearing some of my friends saying there is an issue with Session > in PHP and IE having problems with them. Is that true? If it is how do > people get around this? Session information saved to db? Session id in > cookie? > > > __________ NOD32 1.1454 (20060321) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > >

« previous php.general (#233223) next »