Re: [PHP] destroy session

2004-02-17 Thread John Nichel
Natalia Sensini wrote: 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? Not like that. // some code if ( isset ( $_GET['session_destroy'] ) && $_GET['session_destroy'] == true ) { session_destroy()

Re: [PHP] destroy session

2004-02-17 Thread Richard Davey
Hello Natalia, Tuesday, February 17, 2004, 2:27:07 PM, you wrote: NS> I want to destroy a session when you click in a sing out link, NS> something like this NS> a href= link NS> onClick="session_destroy()" NS> Is ti possible? how? Yes it's possible, but not like that. Make your link go to a pa