faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 20 people (50%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How do I call the variable that contains the URL of the previous page?

Aug 22nd, 2000 16:59
Chris Durkin, unknown unknown, Lalit Joshi


request.servervariables("script_name")
or 
request.servervariables("http_referer")
Note that not all browsers provide the HTTP_REFERER environment 
variable, thus it cannot be depended on. Unfortunately.



© 1999-2004 Synop Pty Ltd