Setting Response.Expires to 0 just makes it so the browser doesn't cache
the page, which doesn't sound at all like the solution to your problem.
Are you saying that if someone sees a certain page, then if they refresh
or return to it, you want them to see something else or be redirected?
After the user logs on I show a page that displays a list of items
previously
saved. When the user picks one I redirect them to a page with the selected
data loaded to begin processing. If they hit the back button (history) of
the
browser and try to revisit the item list page I want to show that it has
expired.
There should be no way for them to return to this page unless they logoff
and then back on.
If the page were not cached then the request would come to the server
and I could display a message. My problem is I put a response.expires =0
and I still got the cached page. Maybe I was using it wrong. I added it to
the top of the html page before the <head>. I also tried adding a
response.expires = 0 into the page load event with the same effect (none).
Hope that clears it up.
Thanks,
kpg