Re: Problem with sessions.
| From: | Tom Rogers | Date: | Sun, 17 Mar 2002 15:39:27 +0000 |
| Subject: | Re: Problem with sessions. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88830@lists.php.net to get a copy of this message | ||
Hi
As you had not started a session at that point there was none to destroy or unregister :)
Tom
At 11:53 PM 17/03/2002, Carlos Costa Portela wrote:
On Sun, 17 Mar 2002, Tom Rogers wrote: hi If you put: <? session_start(); as the first line on your page it will behave as you want I think.Thank you very much. It runs now ok :-). But I don't understandwhy, if I call session_destroy(), the system remember the value of the variable.The system running at...http://casa.ccp.servidores.net/tutorials/php/sessions/sessions.php and http://casa.ccp.servidores.net/tutorials/php/sessions/sessions.phps you have the web page and the code, respectively.Thank you very much, Carlos._______Carlos Costa Portela_________________________________________________ | e-mail: ccosta@servidores.net | home page: http://casa.ccp.servidores.net | |_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|