Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Melih Onvural
If you set its expiration date to moments before the logout button is clicked then the session will die. melih > > From: Matt Babineau <[EMAIL PROTECTED]> > Date: 2003/06/24 Tue PM 02:40:20 EDT > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Subject: [PHP-WIN] E

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
: "Matt Babineau" <[EMAIL PROTECTED]> > To: "Metin Kale" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, June 24, 2003 8:13 PM > Subject: Re: [PHP-WIN] Eliminate a specific session variable > > > > Does this even apply when using

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Stephen
"Metin Kale" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 8:13 PM Subject: Re: [PHP-WIN] Eliminate a specific session variable > Does this even apply when using the session variable method of $_SESSION['varname'] ? > > > > if yo

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
Does this even apply when using the session variable method of $_SESSION['varname'] ? > > if you don't want to "nuke" your entire session, but want to completely get > rid of your session variable, I've used this below and works pretty well: > > unset($myvariable); > session_unregister("$myvaria

Re: [PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Metin Kale
if you don't want to "nuke" your entire session, but want to completely get rid of your session variable, I've used this below and works pretty well: unset($myvariable); session_unregister("$myvariable"); metin At 02:40 PM 6/24/2003 -0400, Matt Babineau wrote: Hi All- I'm playing around with

[PHP-WIN] Eliminate a specific session variable

2003-06-24 Thread Matt Babineau
Hi All- I'm playing around with an authentication system and I can't figure out how to "Log" someone out of the system. Wha tI would like to do is be able to check if the session variable $_SESSION["logged_in"] exists. But if I unset() that session variable is still exists but it seems like the