Jul 24, 2006 #1 etjohnson81 Programmer Joined Jul 17, 2006 Messages 72 Location US Does anyone know how to make a page refresh when a user clicks back or click a link with onclick="javascript:history.back()" <A href="http://www.easycgi.com/shared_hosting/?kbid=4815&img=easycgi_120x60_5.gif"><img src="http://banners.easycgi.com/ShowBanner.asp?id=4815&img=easycgi_120x60_5.gif" border=0></a>
Does anyone know how to make a page refresh when a user clicks back or click a link with onclick="javascript:history.back()" <A href="http://www.easycgi.com/shared_hosting/?kbid=4815&img=easycgi_120x60_5.gif"><img src="http://banners.easycgi.com/ShowBanner.asp?id=4815&img=easycgi_120x60_5.gif" border=0></a>
Jul 25, 2006 #2 snowboardr Programmer Joined Feb 22, 2002 Messages 1,401 Location PH thats a tough one... I'm sure you can unless you always refresh that page once when they goto it? Maybe try this: onclick="javascript:history.back();javascript: window.location.reload(); Upvote 0 Downvote
thats a tough one... I'm sure you can unless you always refresh that page once when they goto it? Maybe try this: onclick="javascript:history.back();javascript: window.location.reload();
Jul 25, 2006 #3 emozley Technical User Joined Jan 14, 2003 Messages 769 Location GB If you put this at the top of the page then it will never be cached - eg when you go backwards it will always refresh: <% Response.ExpiresAbsolute = Now() - 1 Response.AddHeader "Cache-Control", "must-revalidate" Response.AddHeader "Cache-Control", "no-cache" %> Upvote 0 Downvote
If you put this at the top of the page then it will never be cached - eg when you go backwards it will always refresh: <% Response.ExpiresAbsolute = Now() - 1 Response.AddHeader "Cache-Control", "must-revalidate" Response.AddHeader "Cache-Control", "no-cache" %>