| Platform SDK: IIS SDK |
[IIS 5.0] [IIS 5.1] [IIS 6.0]
The Redirect method causes the browser to attempt to connect to a different URL.
Response.Redirect URL
Any response body content set explicitly in the page is ignored. However, this method does send other HTTP headers set by this page to the client. An automatic response body containing the redirect URL as a link is generated. The Redirect method sends the following explicit header, where URL is the value passed to the method, as shown in the following code:
HTTP 1.0 302 Object MovedLocation URL
The following example redirects the user to the Microsoft Web site:
<% Response.Redirect "http://www.microsoft.com" %>
For other than 302, see Response.Status
Platforms: Windows 2000 with IIS 5.0 installed, Windows XP
with IIS 5.1 installed, Windows Server 2003 family with IIS 6.0
installed
| What
did you think of this topic? |
Order a Platform SDK CD |
See also:
| file: /Techref/language/asp/OBJ/ref_vbom_resomre.htm, 3KB, , updated: 2006/8/21 14:50, local time: 2012/5/25 06:03,
38.107.179.234:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/language/asp/OBJ/ref_vbom_resomre.htm"> Response.Redirect</A> |
| Did you find what you needed? |
|
Enter the PICList design contest to win a free PCB from olimex.com! |
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.