Posted By

sikwan on 10/15/10


Tagged

url


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

ddtfish
dekehooper


Current Url


 / Published in: ASP
 

This function return the currentUrl, without get parameters.

  1. Function CurrentURL()
  2. Dim Temp
  3. Temp = "http://" & Request.ServerVariables("SERVER_NAME")
  4. Temp = Temp & Request.ServerVariables("SCRIPT_NAME")
  5.  
  6. CurrentURL = Temp
  7. End Function

Report this snippet  

You need to login to post a comment.