J
James
I've been to websites where if I navigate off a form, trying to get back to
it by hitting the back button gives me a page which says "Warning, page has
expired". It doesn't display the page. I've been searching around trying
to get this to happen for one of my aspx pages and I can't get it to expire.
I've put the following HTML tags in the page:
<meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
and the following code in the Page_Load subroutine
Response.Expires = -1
but it both cases, I can alter the state of controls on the page, click a
button taking me to a different page, and then click the back button and it
returns me to the page with my alterations still intact. Can anyone explain
how I can make it so that the page will expires?
Thanks,
James
it by hitting the back button gives me a page which says "Warning, page has
expired". It doesn't display the page. I've been searching around trying
to get this to happen for one of my aspx pages and I can't get it to expire.
I've put the following HTML tags in the page:
<meta http-equiv="expires" content="Sun, Dec 31 1970 12:00:00 GMT">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
and the following code in the Page_Load subroutine
Response.Expires = -1
but it both cases, I can alter the state of controls on the page, click a
button taking me to a different page, and then click the back button and it
returns me to the page with my alterations still intact. Can anyone explain
how I can make it so that the page will expires?
Thanks,
James