Topic awaiting preservation: sessions geting lost (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 04-17-2005 13:10
i have a login page that generates a session with the users id. now directly after login the session is there and everyrhing is fine as soon as i klick somewhere else on the same site the session is lost :-( any ideas on why this is happening? |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-17-2005 13:26
Are you calling session_start() on every page? |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 04-17-2005 13:35
hmm no at the login i use session.add("id") and on the rest of the page i joust use simple if |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-17-2005 14:14
Sorry |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-17-2005 14:42
and your browser's accepting cookies? |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 04-17-2005 14:45
sure does |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-17-2005 14:51
well, that would have explained it. |