You would use client-side script only, e.g.
onclick='window.history.back();'
--
http://www.aspfaq.com/
(Reverse address to reply.)
"JJA" <> wrote in message
news: om...
> When my webserver does not process a user's change because of an
> invalid password, I inform the user and I want to present them a
> button for a retry:
>
> <TR id=continuebuttonrow>
> <td width="05%"> </td>
> <TD width="90%" align=center valign=middle colspan=2>
> <BUTTON TYPE=BUTTON
> ONCLICK="location.href='<% =
> Request.ServerVariables("HTTP_REFERER") %>';"
> class=btnParms name=btnContinue ID="Button3">Try Again (Back)</BUTTON>
> </td>
>
> Yet if this button is clicked, they go back to the server and the page
> is refreshed with original values.
>
> If I click the browser's BACK button (rather than my button above), I
> go back to the page (from cache I guess) I want (because it contains
> the user changes). Here I can correct the password without having to
> rekey the changes.
>
> So, what is the Request.Servervariable needed for the equivalent of
> the BACK button? Thanks.