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!

History back question

Status
Not open for further replies.

Dashley

Programmer
Dec 5, 2002
925
US
is there a way to automate a history.back ?

I want to redirect to a page that opens up a PDF file for printing (in a new window) and then have the redirect page back up to the page that called it without using a manual "Back" button


Thanks

DASHLEY
 
if you know the name of the page you came from just do a response.redirect("page i came from")
if not have the startpage send a url variable
Code:
startpage.asp?camefrom=startpage.asp
then on the next page
Code:
response.redirect(request.querystring("camefrom"))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top