Hi,

I am having a problem. Problem is, when I am pressing backspace
button, the page is moving to Page has expired.

Actual scenario is, I am having a Parent page (Page1.aspx) with a
button, ModalPopupExtender & iframe.On clicking the Parent page
button, the ModalPopupExtender show its content. On clicking close
button of ModalPopupExtender, the iframe is re-loading Page2.aspx.(By
declaratively, the iframe is having src as Page2.aspx).
ModalPopupExtender is having a list box & button. On clicking the
close button of the ModalPopupExtender, it will close. When I am
pressing backspace after clicking on the main page, iframe page is
displaying "Page has expired".

Error:

Webpage has expired

   Most likely cause:
The local copy of this webpage is out of date, and the website
requires that you download it again.

   What you can try:
     Click on the Refresh button on the toolbar to reload the page.
After refreshing, you might need to navigate to the specific webpage
again, or re-enter information.


So far, I tried with the following methods in both parent & child
page.

1) I made cacheabilty to none programmatically in load & preinit
Response.Cache.SetCacheability(HttpCacheability.NoCache);

2)I tried declaratively
<%@ OutputCache Location="None" %>

Still the problem exists. But If I pressed the backspace again, it is
loading the page back with the previous state. To be in short, For the
first time backspace pressed, page is expiring. After that it is
loading back to previous state and hence forth no probs.

Can you suggest me how to stop the page expiring.

Many Thanks in Advance.

With Best Regards,
Velsankar


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to