Hi
When you create the new session give it a different name.
Tom
At 01:49 AM 17/03/2002, Carlos Costa Portela wrote:
> Hello all:
>
> I am playing with sessions and I have a problem with the
>session_destroy() function. If I do a session_register() after calling it,
>the session r
maybe you better use:
session_unregister("counter");
Greets,
Edward
- Original Message -
From: "Carlos Costa Portela" <[EMAIL PROTECTED]>
To: "php-general mailing list" <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 4:49 PM
Subject: [PHP] Problem with sessions.
> Hello all:
>
> I
On Sat, 16 Mar 2002, Edward van Bilderbeek - Bean IT wrote:
> maybe you better use:
>
> session_unregister("counter");
>
I've put that, but it doesn't run. As you can see in the URLs
below, my code is:
if ($id == "logout") { // the user wants logout :(
session_unregister("counter");
hi
If you put:
On Sat, 16 Mar 2002, Edward van Bilderbeek - Bean IT wrote:
>
> > maybe you better use:
> >
> > session_unregister("counter");
> >
>
> I've put that, but it doesn't run. As you can see in the URLs
>below, my code is:
>
>if ($id == "logout") { // the user wants logout :(
>
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 understand
why, if I call session_destroy(), the system remember the value of the
va
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
On Mon, 18 Mar 2002, Tom Rogers wrote:
> Hi
> As you had not started a session at that point there was none to destroy or
> unregister :)
Ok!!!. Thank you very much,
Carlos.
http://www.tertulandia.com : sea cual sea tu tema... allí está tu sitio!
___Carlos Costa
7 matches
Mail list logo