CodeAve.com CodeAve.com - ASP - Response Objects
ASP
·Read/Write
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·Articles
·Miscellaneous
·Contents
·What's New?
JavaScript
CSS
HTML
Maps
Links
Mail List
Search
Sitemap


 


Response Redirect (Variable)
Response.Redirect allows for more than the simple re-direction to a single location. The url that the user is redirected to can be based on a variable.  This is particularly useful when redirecting a user due to incorrect input.  Variables can be requested as querystring values and used to populate input fields or to customize output page display.
View the Output
Text View
Print View
Mail this Link
Download the Code

<% 
u_location=request.form("u_location")
if u_location <> "" then
response.redirect (u_location)
end if 
%>

<form method="post" action="redirect_varible.asp">
<select size="1" name="u_location">
<option value="http://www.goto.com">GoTo.com</option> 
<option value="http://www.priceline.com">Priceline.com</option> 
<option value="http://www.alladvantage.com">AllAdvantage.com</option> 
</select>
<input type="submit" value="Submit">
</form>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Kids jordan 6 rings
  • Jordan retro 10
  • Jordan retro 3