RE: Passing the session question

From: Date: Thu, 15 Apr 2004 09:35:10 +0000
Subject: RE: Passing the session question
Groups: php.windows 
Request: Send a blank email to php-windows+get-23449@lists.php.net to get a copy of this message
should'nt it be "echo $SID" ? -----Original Message----- From: Jim MacDiarmid [mailto:jim.macdiarmid@comcast.net] Sent: 14 April 2004 19:09 To: php-windows@lists.php.net Subject: Passing the session question Why is it that the following scenerio will pass the session id.... /* SessionStart.php */ <?php Session_Start(); ?> /* Page1.php */ <?php include('SessionStart.php'); ?> Echo SID; /* Page2.php */ <?php include('SessionStart.php'); ?> Echo SID; However the following scenerio will not pass the session id.... Or atleast I can't seem to get it to work. /* Page1.php */ <?php Session_Start(); ?> Echo SID; /* Page2.php */ <?php Session_Start(); ?> Echo SID; Any ideas? Thanks, Jim

« previous php.windows (#23449) next »