CodeAve.com CodeAve.com - ASP - Server Variables
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


 


Referring Page
Knowing from what page certain requests come from can be extremely useful in .asp scripts.  The request.servervariables("http_referer") will make the url of the previous page available as a variable providing that the page the script is placed on is not the startup page for the browser session, was hard coded into the address bar or opened as a favorite.
View the Output
Text View
Print View
Mail this Link
Download the Code

<%
referer=request.servervariables("http_referer")
%>


<font face="arial" size="1">
<%= referer %>
<br>
Click <a href="<%= referer %>">here</a> to go to the previous page 
</font>

 

 

 



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
Maps: Map Script Writers | Bing Maps | Google Maps
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 - 2014 CodeAve.com
All Rights Reserved

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