Redirect User ASP Script - ASP Web Pro
  Active Server Pages Programming by ASP Web Pro

ASP Scripts

REDIRECT USER

There are a lot of cases in ASP where you would need to redirect or send a user from one page to another. One example would be if you have a membership based website. When the user logs in with his/her username and password, this information is checked by a verification script. If their login is verified, they are sent to the member page. If there username and password is incorrect, they are sent to an error page. Redirecting users is easy and only consists of one line of code:

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

All you have to do is enter the relative path to the desired page and away your user goes!

< Back to ASP Scripts


 

 

Main Menu
Home
ASP Scripts
ASP Tutorials
JavaScripts
Awards
Contact Us

Email This Page

Other Resources
ASP Web Hosting
Search Engine Submission
Programming Help

 

 

 

Other ASP Web Sites

Site Map

 

Last Updated:
06 July 2008