Got a problem with sessions.
On my index page, there's a place for people to login. Well, when I test
with two different user names (ie: mike and jlo) it reverts to the first
one when login fails. For example:
I enter in the username "myuen" and a wrong password. I get my
"Password/Username in
Do you use custom session handlers?
Try session_unset() also. It may help.
Regards,
Yasuo Ohgaki
> Got a problem with sessions.
>
> On my index page, there's a place for people to login. Well, when I test
> with two different user names (ie: mike and jlo) it reverts to the first
> one when l
Hi
You will need to kill the session data on the exit of your failed login not
on entry to the login page as the data will already be overwritten by the
previous session value.
I use
unset($name);
unset($password);
...
Tom
At 04:24 PM 6/03/01 +0900, Yasuo Ohgaki wrote:
>Do you use custom sess
Thanks for the suggestion, I tried that and it still doesn't seem to be
working.
Here's what i've got so far on my page (index.php).
Hope you can see something I don't. Thanks,
Mike
On Tue, 6 Mar 2001, trogers wrote:
>
> Hi
> You will need to kill the session data on the exit of your failed
" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 5:11 PM
Subject: Re: [PHP] Session not destroying properly
> Thanks for the suggestion, I tried that and it still doesn't seem to be
> working.
> Here's what i've got so far on my page (
m: "Mike Yuen" <[EMAIL PROTECTED]>
>To: "trogers" <[EMAIL PROTECTED]>
>Cc: "Yasuo Ohgaki" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Wednesday, March 07, 2001 5:11 PM
>Subject: Re: [PHP] Session not destroying properly
>
>
> &
I'm using PostgreSQL for session storage. I forgot to unset session vars
occasionally, so I wrote
a little script to view sessions and its contents. If you are using DB for
session, how about write a little script to view session? It will be very
helpful to debug session related problems.
If you
7 matches
Mail list logo