Passing the session question
| From: | Jim MacDiarmid | Date: | Wed, 14 Apr 2004 18:09:29 +0000 |
| Subject: | Passing the session question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23446@lists.php.net to get a copy of this message | ||
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