note 55893 added to function.session-register

From: Date: Tue, 16 Aug 2005 18:38:08 +0000
Subject: note 55893 added to function.session-register
Groups: php.notes 
Request: Send a blank email to php-notes+get-93762@lists.php.net to get a copy of this message
I have run across what I think is a unique problem. I am using the session features of PHP on a windowsIIs server. The session stays alive UNTIL and new browser window is opened. The session is then destroyed. Dunno why. What makes this real special is if ,after the session is destroyed, login to the site AGAIN.. All works fine and the session stays alive until I kill it. This is how I am registering the users login @session_start(); $_SESSION['sess_name']=$sess_name; $_SESSION['sess_last_name']=$sess_last_name; $_SESSION['sess_student_id']=$sess_student_id; $_SESSION['security']=$security; session_encode(); Simple... works on lots of other sites. Anyone have a solution.? Thanks ---- Manual Page -- http://www.php.net/manual/en/function.session-register.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55893 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55893&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55893&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#93762) next »