Hi All,
I am currently using sessions for my login and logouts. I have a default page for login and a protected page. When I login, the session will save the username as a session variable and redirect to the protected page which has a logout link. The logout link destroys the session and redirects back to the default page.
Sounds simply but my problem is when I logout, the default page shows the status that I am still logged in. I have to refresh the page in order to get the right results (ie, i hide the login panel when I am logged in).
I believe it's something to do with caching but it may not be... Any ideas?
Thanks for your time
GenX
Login Problem
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London