should'nt it be "echo $SID" ?

-----Original Message-----
From: Jim MacDiarmid [mailto:[EMAIL PROTECTED]
Sent: 14 April 2004 19:09
To: [EMAIL PROTECTED]
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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to