...

View Full Version : Retrieving web address of current page



simplyblue
02-15-2003, 05:10 AM
Hi all,
Is it possible for me to retrieve the current webpage address using asp?
For example, I'm on the page www.abc.com/product.asp?id=123
How can I retrieve this adddress with asp?

Thanks!

Roelf
02-15-2003, 10:56 PM
its a concatenation of the three servervariables:
Request.ServerVariables("SERVER_NAME")
Request.ServerVariables("SCRIPT_NAME")
Request.ServerVariables("QUERY_STRING")

simplyblue
02-17-2003, 11:09 AM
all right thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum