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

Enabling links after "Back" button is used to return to page

Status
Not open for further replies.

ChaseMIS

MIS
Jul 31, 2001
23
US
I have a page with several drop down boxes. The items in the drop down boxes are actually links and when the user selects one he or she is sent to a report on our server. I have noticed that when the "BACK" button is used to return to the page, the drop down box displays the name of the report they were just viewing rather than the default of "Choose One."

Furthermore, if they try to choose that same report again the link does not work. The users could just use the forward button to return to the report, but that doesn't occur to many of them. The problem is compounded by the fact that some of the reports are actually Excel documents that are launched from the link. If the user has closed the Excel document and wants to see it again, he or she will have to use the link on my page again.

I know why this happens but I don't know how to change it when the "BACK" button is used. How do I force the page to reload when they come back to it even if they come via the back button on their browser?

I would certainly appreciate your assistance.

Derek
 
Add this between the <head></head> tags on your link document:

<meta http-equiv=&quot;refresh&quot; content=&quot;0&quot;>

This will force the page to reload every time it is opened.
 
Thanks for your help. That did work, although now the page looks like a strobe light. It seems to be refreshing all the time. I was wondering if it is possible to refresh the page only when the browser returns to it.

Thanks again,
Derek
 
Sry, my bad, wrong tag. Try this one instead.

<meta http-equiv=&quot;expires&quot; content=&quot;0&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top