This is so simple but I keep getting a 500 <% If Session("CountryCode") = "US" Then %> <script type="text/javascript" language="javascript"> // directly jump page window.location.href = 'http://www.icbla.org/Crisis/US/Request.asp'; // definite time to jump page setTimeout("javascript:location.href='http://www.icbla.org/Crisis/US/Request.asp'", 5000); </script> <% End If %> Anyone have an idea why it is not working????
The function makes sure the redirected URL is formatted correctly. Open URL (for remote testing). ... including your email address, country, zip code, and phone number.
Hi, why are you trying to do it with javascript? you can use a simple asp code to redirect the person to that page. use response.redirect.. <% If Session("CountryCode") = "US" Then response.redirect("http://www.icbla.org/Crisis/US/Request.asp") %> Only one line code. No need for "end if"...