in reply to Re: Re: Re: Session Problems
in thread Session Problems
the login code takes a username and password from a form, looks up the username in the DB, and checks to see if the password matches. If it does, it sets $session{userid} to the users userid.
The logout code simply sets $session{userid} to undef.
I may have discovered the problem. As I understand it, there should be a row in the sessions table for each cookie issued, right? I have *no* rows in my sessions table.
I can't shake the feeling that I've completely missed something in how the sessions code works.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Session Problems
by perrin (Chancellor) on Aug 15, 2001 at 20:43 UTC | |
by dstar (Scribe) on Aug 15, 2001 at 22:48 UTC |