Gazing into my crystal ball I observed chumley <>
writing in news:fd1d0523-833c-4767-95aa-
:
> I have a javascript history object (javascript:history.go(-1)) that
> goes back to previous page when I trigger a button event to go back to
> that last page :
><form action="javascript:history.go(-1)" method="post">
><input type="hidden" value="yes" name="awc" id="awc">
><input type="submit" value="BACK">
></form>
>
> ..but doing a test to response write to see if it's posting to the
> previous page:
> if request.form("awc") = "yes" then
> response.write "yes "'
> end if
>
> ...I do not see the "yes" displayed. wondering if combining this
> javascript object with this simple ASP is valid, tho it looks like it
> should be. Even doing method="get" , I don't get my "yes" display 
>
> ??
> chumley
ASP has no idea about what's happening on the client, so would never get
that information.
By the way, you're reinventing the wheel. There is a back button on the
user's browser, as well as a handy dandy backspace key that does the same
trick, not to mention the mouse gesture, should the client be so enabled.
There is another suggestion in this thread about using session variables.
That can work, but I prefer to explicitly state the name of the file for
the action attribute, or better yet, have the form submit to itself.
YMMV
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share