I have script one in which I do a session_start(), then register a variable by session_register("admin_status"). I then set the value of the session variable like this $admin_status = 1. I then do a check to see if ($admin_status), and if true do a redirect to another script. The redirect works fine but I can't access the session_variable on script2. I do a session_start() on script2 as well.
The php scripts are embedded in html, but i have <?php session_start(); ?> as the first line of the pages. I also tried setting the auto_session start feature in the php.ini file on with no luck.
I am using version 4.1.2 of php, on a win2k
server running iis5.
Any help is apreciated.
thanks,
Jake