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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back to default.aspx without re-load page

Status
Not open for further replies.

adonet

MIS
May 4, 2004
312
0
0
US
I use Response.Redirect("default.aspx") to back to default.aspx but it reload default page every time. How to back to default.aspx without re-load page?
 
You could cache the page for a faster response, but there isn't a way to not 'reload' it.

If you are just going back you could try using Javascript and the history.back(1), but I've always had mixed results with this.
 
(Meant to add this to my last post.)

Add this to the top of your default page. If you are using any variables in your query string that are used to make it a dynamic page, add those to the VaryByParam.

Regular ex:
<%@ OutputCache Duration="100" VaryByParam="none" %>

Query string ex:
<%@ OutputCache Duration="100" VaryByParam="location;storenumber" %>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top