Re: [PHP] Control over your Session

2003-03-10 Thread Gerard Samuel
Thanks for saving my sanity. The best answer is the simplest one. Im testing my code on a domain where register_globals were on. Never would have thought of checking that. Thanks once again, now I can go to sleep... Leif K-Brooks wrote: If you have register_globals on, you'll need to session_u

Re: [PHP] Control over your Session

2003-03-10 Thread Leif K-Brooks
If you have register_globals on, you'll need to session_unregister it. Gerard Samuel wrote: Got a problem thats baffling me. I have a form that includes a file that starts a session. Creating sessions are no problem, but deleting the session variable is not working as its supposed to. Sudo code

[PHP] Control over your Session

2003-03-10 Thread Gerard Samuel
Got a problem thats baffling me. I have a form that includes a file that starts a session. Creating sessions are no problem, but deleting the session variable is not working as its supposed to. Sudo code -> include('some_file.php'); // This file starts the session via session_start(); switch(