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
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().
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
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
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
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
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
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
8 matches
Mail list logo