Hello everyone!
Quick question... When I start a session using session_start() and then register a variable for the session using session_register() php writes this variable to one of the sess_0920920920392 files, correct? If this is so how do I get that information out of that file when I move to the next page? Right now here's what I have:
page1.php
session_start();
$count++;
//this writes the var to the sess_2323.. file
session_register("count");
Now on moving to the next page I want to get the variable count out of the sess_2323.. file... so here's what I do...
page2.php
session_start();
??? //this is where I get lost..
What do I do to get the variable $count back on page 2? For your information I have cookies turned off and I'm not using a db at all.. just the files that php4 makes in the /tmp directory.
Thanks,
Jay