Michelle Jones
|
| Posted: 12/15/2005, 6:54 AM |
|

In code for some pages, I check the value of HTTP_REFERER to determine whether or not user got to that page from the application. If this variable is not set then users will get redirected to application login page. Normally this works fine for us, however when users are using internet explorer it does not always work because the HTTP_REFERER variable is not getting set for some reason. I tracked it down and it seems to be related to trying to use the following kind code:
<INPUT TYPE="reset" NAME="cancel" value="Cancel" onClick="window.location.href='quote.asp?q=<%=QuoteNum%>'"></INPUT>
How can I do this to get the redirect to work when the user clicks the cancel button - the HTTP_REFERER value needs to be set so the quote.asp page correctly displays or redirects (in this case it should display).
Thanks!
|
|
|
 |
|