history back

Results 1 to 2 of 2

Thread: history back

  1. #1
    Join Date
    Dec 1969

    Default history back

    Is there a way to go back one in the history whrough vb or asp, similar to the history.back in javascript ?<BR><BR>Much appreciated<BR>Jess

  2. #2
    Join Date
    Dec 1969

    Default RE: history back

    You want to do it with ASP?! Server-side?!<BR><BR>Well, ok, aside from that sarcastic remark, it sometimes does actually work.<BR><BR>Response.Redirect(Request.ServerVaria bles("HTTP_REFERER"))<BR>Response.End<BR><BR>Howev er, if you want client-side script, ditch VBScript. Use history.back() and your problems are solved :)<BR><BR>Another way to do it is to trap the event server-side (if this is your problem), and then write JavaScript back to the client browser. This JavaScript could have an alert for their mistake and then a history.back() command to send them back to the preceeding page.<BR><BR>Craig.

Posting Permissions

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