Re: session destroy???
| From: | Yasuo Ohgaki | Date: | Thu, 22 Mar 2001 00:23:40 +0000 |
| Subject: | Re: session destroy??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45036@lists.php.net to get a copy of this message | ||
Use session_unset()
http://www.php.net/manual/en/function.session-unset.php
Regards,
--
Yasuo Ohgaki
""Miguel Loureiro"" <m.loureiro@distrim2.pt> wrote in message
news:015d01c0b237$61e86720$560210ac@loureiro.distrim2.pt...
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 continues appers sessions data, it's bad because someone can enter in
my browser after me and make fully things in my page....
How can I solve this problem? I already try to use OnLoad and UnOnload events
in Javascript....
T.Y all
Best Regards
Miguel Loureiro < m.loureiro@distrim2.pt >