CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Redirect with IE giving unexpected results

Print topic Send  topic

Author Message
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!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.