history.go(-2) in ASP

Results 1 to 3 of 3

Thread: history.go(-2) in ASP

  1. #1
    Join Date
    Dec 1969

    Default history.go(-2) in ASP

    Hello all,<BR><BR>url = request.servervariables("HTTP_REFERER")<BR>respons e.redirect url<BR><BR>works fine for me, to automatically redirect a page to the previous one. However, I need to go back two pages now and really would like to do this without javascript.<BR><BR>Is there a way it can be done in ASP?<BR><BR>&#060;n00b&#062;<BR>If I have to pass the value from javascript&#039;s history.go(-2) to ASP, how would I accomplish that? <BR>&#060;/n00b&#062;<BR><BR>Sometimes I wish I had started programming ASP from page 1.<BR>Constantly I run into pretty obvious things I can&#039;t get done, just because I never had to do something like that :)<BR><BR>All help greatly appreciated!<BR><BR>Regards,<BR>Tim

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Cant

    you have to pass that URL to the page and the redirect from that page<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: history.go(-2) in ASP

    I dont know i think :<BR>&#060;N00B&#062;<BR>response.write "javascript:history.go(-2)"<BR>&#060;/n00b&#062;<BR>I hope that it will work ;)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts