Re: [PHP4BETA] Sessions strange behaviour. (fwd)
| From: | Andrei Zmievski | Date: | Mon, 15 Nov 1999 16:29:37 +0000 |
| Subject: | Re: [PHP4BETA] Sessions strange behaviour. (fwd) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6249@lists.php.net to get a copy of this message | ||
On Sun, 14 Nov 1999, Roberto Diaz wrote:
> > FWIW, this works for me, thanks to your input for the idea;
> >
> > # cat page1.php
> > <?php
> ------------- snip-------------------------
> > Does this work for you ?
> >
> > --markc
> >
>
> Yes it is working now.. :??????? well i still have a few troubles with
> session_destroy();
>
> This is my code:
> ------------------------------------------------------------------------
> [root@sirio htdocs]# cat test1.php
> <?
> 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.
-Andrei
The secret of flying is to throw yourself
at the ground, and miss. -Douglas Adams