RE: [PHP] php, sessions and ie

From: Date: Tue, 04 Apr 2006 15:50:14 +0000
Subject: RE: [PHP] php, sessions and ie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233210@lists.php.net to get a copy of this message
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 (#233210) next »