My problem is that I get a new Session Id with every request I send to the server. For
that reason I am unable to share variables between pages using sessions. (I get a new
session Id even I refresh the same page). The code below prints out different session
id for "page1.php" and "page2.php". Can someone please help me figure out what would
be causing this.
on page1.php I have the following code:
<?php
session_start();
echo SID
?>
<a href="page2.php">Next page </a>
on page2.php I have the following code
<?php
session_start();
echo SID
?>
Moiz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php