I wish to redirect a user to another page after logon.
The code below:
Response.Redirect("../agent/info.asp")
works fine - for Safari, IE, and Chrome. Not Firefox.
The code below:
Response.Redirect("agent/info.asp")
works in Firefox, but nothing else.
If the page you are redirecting to isn't in the same directory, you're generally better off using either the full URL or the full virtual path like so (assuming
/agent/
is in a directory below the root like what your example implies):or
More information and examples can be found at MSDN.