I'm running Apache1.3.19+PHP4.06+Win98. I'm trying to add session mgmt to my programs. My code is as follows:
<?
session_start();
echo session_id();
?>
First time into the script, a session is created as expected. However, if I refresh this page, I get a new session id. If I refresh again, the second session id is displayed, therefore session mgmt is working as expected. Is this a normal behavior? The reason for this is I'm also building a cleanup routine. Please explaing if anyone can.
TIA,
Allen