|
Session - funny or magic?: msg#00088php.windows
Generally I don't believe in magic, but... I tried to use 'session' machanism. So I typed "session_start()" and so on, configured path to store session info. Surely before sending any headers. I defined variable "level", accesed by $_SESSION["level"]. Sesion files were being created in correct directory, but files had zero length and mentioned variable was not changing... was not even set. Register_globals was ON, everything should work. But didn't. Turning off register_globals didn't change anything. I have added "counter" - just example from php manual. Initially nothing happened until I changed acces mode to counter from $_SESSION["counter"] to $HTTP_SESSION_VAR["counter"]. "Counter" was still unaffected and unaccesible, but "level" (still accesed by $_SESSION["level"]) was! I'd love to know WHY. I'm afraid it can stop working "without" reason, just as started. Could anybody explain me what's going on? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | problems installing PHP4 in Apache: 00088, Out For Blood Core |
|---|---|
| Next by Date: | WinampCOM problem: 00088, Olivier Hubert |
| Previous by Thread: | problems installing PHP4 in Apachei: 00088, Out For Blood Core |
| Next by Thread: | Re: Session - funny or magic?: 00088, Scott Hurring |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |