Hi, I'm getting some strange behavior from some extremely simple session code. I wrote a straight forward user authentication system on my machine, but when i transfered it to the out side webserver it doesnt work. After much fiddling i discover the following test code doesnt work
session_start();
if ( ! isset ( $HTTP_SESSION_VARS["num"] ) )
$HTTP_SESSION_VARS["num"] = 0;
print $HTTP_SESSION_VARS["num"] += 1 ;
If i use global variables it works fine but the HTTP_SESSION_VARS array seems to be being ignored, any suggestions ?
Mike