WIll this not work or what may be wrong?<BR><BR>dim strURL as HttpWebRequest<BR> strURL = Request.ServerVariables["HTTP_REFERER"]<BR><BR>miketry to declare strURL as string like below.<BR> <BR>Dim strURL as string = Request.ServerVariables("HTTP_Referer")<BR><BR>It will work.<BR><BR>Raj