[PHP] session destroy callback (onSessionDestroy event)

2007-05-13 Thread Emil Ivanov
Hi, I need to do some clean-up when the session is destroyed or values are removed from it (expired). using session_set_save_handler does not work for me, as I don't want to rewrite session handling, I just need to be notified when a value is destroyed. Regards, Emil Ivanov P.S. I'm dealing

Re: [PHP] Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Chris Shiflett
Ken wrote: After unsetting and destroying the session, the same sid is generated. No session identifier is generated at this point. This generation only happens when there is no identifier presented by the client, or when you explicitly regenerate it using something like session_regenerate_id().

[PHP] Session destroy/unset question - the same session_id is regenerated.

2005-03-22 Thread Ken
After unsetting and destroying the session, the same sid is generated. is this a normal behaviour? i did this: session_start() //kill session variables unset($_SESSION); session_destroy(); Thanks in advance ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Session destroy/close

2002-05-15 Thread 1LT John W. Holmes
check for a certain period of inactivity and automatically log them out if they come back after that time. ---John Holmes... - Original Message - From: "Ake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 5:11 AM Subject: [PHP] Session des

[PHP] Session destroy/close

2002-05-15 Thread Ake
I'm trying to close a session without the logged in surfer clicking "log out" (through a onunLoad javascript function which loads i different php document with the otherwise working php code for destryoing a session). I have a working "Log out" link which destroys the session and the variables

[PHP] session destroy ??

2001-12-19 Thread Olivier Masudi
In my online store i use session. I use a script to check that a user dont make 2 order during the same session using the back button for that i put his sessionid in the db and check it before processing the order. My probleme is how can i give a new session_id to the person when he goes back to

Re: [PHP] session destroy???

2001-03-21 Thread Yasuo Ohgaki
Use session_unset() http://www.php.net/manual/en/function.session-unset.php Regards, -- Yasuo Ohgaki ""Miguel Loureiro"" <[EMAIL PROTECTED]> wrote in message 015d01c0b237$61e86720$[EMAIL PROTECTED]">news:015d01c0b237$61e86720$[EMAIL PROTECTED]... Hello all, when using sessions, if use command

[PHP] session destroy???

2001-03-21 Thread Miguel Loureiro
Hello all, when using sessions, if use command session_destroy shouldn't all variables related with used session destroyed??? It seams that is a crazy question, but, after make a logout(session_destroy()), I use the browser buttons to go back to inicial page and forward until logout page, it c