Results 1 to 2 of 2

Thread: Redirect

  1. #1
    coopetj Guest

    Default Redirect

    I used the following code to you redirect a user back to a form that failed validation.<BR><BR>newsBack = request.servervariables("http_referer")<BR>respons e.redirect newsback<BR><BR>It works with the exception that the information is gone. When you hit your back button on a browser it returns you to the previous page with information intact. Can I do this in ASP?

  2. #2
    Join Date
    Dec 1969

    Default RE: Redirect

    Yes,<BR><BR>well, sort of.<BR><BR>use a little diddy of javascript<BR>in a link &#060;a href=javascript:history.go(-1);&#062;Hi Mom&#060;/a&#062;<BR><BR>It works, but I am always leary about the psychos that don&#039;t have script enabled or are running one of those home made browsers.

Posting Permissions

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