Re: [PHP4BETA] Sessions strange behaviour. (fwd)
| From: | Andrei Zmievski | Date: | Mon, 15 Nov 1999 17:33:12 +0000 |
| Subject: | Re: [PHP4BETA] Sessions strange behaviour. (fwd) | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6259@lists.php.net to get a copy of this message | ||
On Sun, 14 Nov 1999, Roberto Diaz wrote:
> > > <?
> > > if(isset($nueva) && $nueva == 1) session_destroy();
> > >
> > > // ******* what I want is to destroy my session so i get $var2 == 1
> > > // ******* again, Whats wrong :?????????????????
> >
> > You might want to take a look at the session_unset() function.
>
> And where is the documentation for that function? I can't find it in
> php.net..
>
> I mean php4 session handling functions.. maybe session_unset() is from
> phplib??????? :????????????
There is no documentation yet. It basically unsets all the variables
that were registered with session_register().
-Andrei
* Think digital, act analog. *