Redirect User

There are many cases where you may need to redirect or send a user from one page to another.

One example would be if you have a website with registered members.  When a member logs in with their username and password, these are is verified by a validation script. If their login details are verified, they are redirected to their member homepage.  If their username or password is incorrect, they are redirected to an error page.  Redirecting users is easy and can be handled with one simple line of code:

<% Response.Redirect ("/index.asp") %>

All you have to do is enter the relative path to the desired web page and your user will be redirected!

< Back to ASP Scripts