[PHP] Re: destroy session

2004-02-17 Thread Jakes
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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I want to destroy a s

[PHP] Re: destroy session

2004-02-17 Thread Jakes
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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I want to destroy a s

[PHP] Re: destroy session

2004-02-17 Thread Ben Ramsey
Take a look at the manual. There is a session_destroy() function: http://www.php.net/session 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? -- PHP General Mailing List (http:/

[PHP] RE: Destroy session variable when IE close

2002-08-15 Thread Tim Ward
yes but the variables are still held and would be available if you knew the session id. until the garbage collection clears it out the session variables are still there. the session doesn't die when the browser closes, just the browser's reference to it. Tim Ward Please refer to the fol

[PHP] Re: Destroy session variable when IE close

2002-08-14 Thread lallous
Afaik, the session will die automatically when IE gets closed. Or at least the cookie that links to that session. Elias "Christian Ista" <[EMAIL PROTECTED]> wrote in message 000101c24384$442ab9b0$c000a8c0@p3portable">news:000101c24384$442ab9b0$c000a8c0@p3portable... > Hello, > > Is it possible t

[PHP] Re: destroy session on close?

2002-01-31 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > is there any way to destroy a session automaticly when a user closes down > you page? > And preferably perform an action like a database removal at the same time. Have a look at the Connection Handling section of the manual, and the fu