Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cached page not displaying (Response..cachecontrol="Public")

Status
Not open for further replies.

Solomons

Programmer
Jan 29, 2003
22
US
Hi All,
A particularly vexing problem.
I've set an asp page to cache using the lines below

Response.CacheControl = "Public"
Response.Expires = 10

This page displays a table with 5-10 rows based on a db query.

Selecting a row and clicking on a button Posts the data to a new page.
But when I use the back button on the browser( or window.history.back) from this new page, the cached page shows up for a brief moment, after after it has loaded completely, the IE error page having message "The page cannot be displayed" shows up.
The message "Cannot find server or DNS Error" is at the bottom of the screen.
If I click Refresh, the page reappears and from then on the
forward and back seem ok for a while.
Anyone face this problem before?? Any idea why it happens and how I can fix it?

Thanx in Advance
Solomons
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top