Logout and back button w/out sessions
Posted: Sat Jul 24, 2004 4:59 pm
I'm using cookies and mySQL, but no sessions to check if a user is logged in. Everything works the way I want it. The problem arises when a user logs out, then clicks the back button. It just reloads the (I assumed cached) "logged in" page. If you refresh it will update and show that you are not logged in.
Is there any way to tell the browser not to use the cached previous page *after* you logout? Or is there another solution to this?
I did a search and only found people with session problems. And the one post I did find that sort of pertained to this didn't have any responses.
Thanks,
Mike
Is there any way to tell the browser not to use the cached previous page *after* you logout? Or is there another solution to this?
I did a search and only found people with session problems. And the one post I did find that sort of pertained to this didn't have any responses.
Thanks,
Mike