Passing the session question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux