asp.net - vbscript how to read the url a visitor has entered from? -


a page have visited users 2 domains. lets call them x.com , y.com

i want of code display when user visits y.com- how do in same vbscript file? or have have separate files?

i thinking

if request.something.contains("x") etc

try request.servervariables("http_referer").

you'll notice referer misspelled; that's because http_referer set in stone in rfc 1945 before caught spelling error.

more info


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -