Re: destroy session
| From: | Jakes | Date: | Tue, 17 Feb 2004 14:52:57 +0000 |
| Subject: | Re: destroy session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177957@lists.php.net to get a copy of this message | ||
rather have a link like -> somepage.php?signout=true
on that page...
if($_GET['signout'] == true){
session_destroy();
header("location: someotherpage.php");
}else{
// do something else
}
"Natalia Sensini" <natysen@hotpop.com> wrote in message
news:002001c3f562$20c1fc90$68e044c8@natalia7aq3mxd...
I want to destroy a session when you click in a sing out link,
something like this
a href= link
onClick="session_destroy()"
Is ti possible? how?