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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php