ScaryBinary
04-30-2002, 05:56 PM
Hey all,
I'm having a really weird problem with an ASP application on our company server. This website stores user names and allows the users to query a database. When a user logs out, his "session" should be cleared to free up server resources.
The problem is that after the user logs out (and his session stuff has been killed), he can click the back button and return to the previous page, which displays all his info as if he never logged out! But when the Refresh button is clicked, the page is correctly updated and the user is redirected to the login page.
I thought this had something to do with the cache, but I've tried everything to get the page to refresh properly when the user clicks the back button - we even disabled and dumped the cache on our proxy server but still no luck. I've made sure that I set my browser up to check the page everytime it's requested, and I cleared the cache on my machine. I've added code in the ASP to immediately expire the page and prevent the proxy server from caching it.
So I am left with two questions:
Why does the page refresh properly when the Refresh button is clicked, but not when it is displayed after clicking the Back button?
Where the heck is the page coming from before it is refreshed, if all the caching is turned off? It doesn't appear to be coming from the client machine or the proxy server. And if it were really the true-blue page, wouldn't it be refreshed when it is called after clicking the Back button?
Thanks for any help, this is driving me crazy!
I'm having a really weird problem with an ASP application on our company server. This website stores user names and allows the users to query a database. When a user logs out, his "session" should be cleared to free up server resources.
The problem is that after the user logs out (and his session stuff has been killed), he can click the back button and return to the previous page, which displays all his info as if he never logged out! But when the Refresh button is clicked, the page is correctly updated and the user is redirected to the login page.
I thought this had something to do with the cache, but I've tried everything to get the page to refresh properly when the user clicks the back button - we even disabled and dumped the cache on our proxy server but still no luck. I've made sure that I set my browser up to check the page everytime it's requested, and I cleared the cache on my machine. I've added code in the ASP to immediately expire the page and prevent the proxy server from caching it.
So I am left with two questions:
Why does the page refresh properly when the Refresh button is clicked, but not when it is displayed after clicking the Back button?
Where the heck is the page coming from before it is refreshed, if all the caching is turned off? It doesn't appear to be coming from the client machine or the proxy server. And if it were really the true-blue page, wouldn't it be refreshed when it is called after clicking the Back button?
Thanks for any help, this is driving me crazy!