As =?Utf-8?B?Z3JhbGV0?= once said in
microsoft.public.dotnet.framework.aspnet
Ok, but how can I turn off cacheing? Actually, I'm not using cacheing
for those pages.
He means browser cacheing.
I use this in page load:
response.Expires = 0
response.Cache.SetNoStore()
response.AppendHeader("Pragma", "no-cache")
Also, I maintain session variables that hold the valid
navigate_to page, the current_page, and an allow_to_navigate
flag. When a page is loaded, I check if they are allowed
to navigate, and if so, if this is the page they are allowed
to naviage to. If not I redirect the user back to the "current"
page.
This scheme ensures that the user can not get to a page out
of sequence, or directly by typing a url, or pressing the back
button.
kpg