all groups > dotnet jscript > november 2005 >
You're in the

dotnet jscript

group:

Request.ServerVariables["HTTP_REFERER"].ToString(); issue


Request.ServerVariables["HTTP_REFERER"].ToString(); issue srinivas
11/8/2005 1:03:33 AM
dotnet jscript:
Hi,


i am a dot net developer.In our site we have a requirement like
url masking.


Example : We have 2 domains like google and srinivas .If we browse the

google domain html page it will show srinivas domain default.aspx page.



For this i used i frame in the test.html page in google domain.Now we
are able to see the google url in the address bar and we are accessing
srinivas domain page(in iframe).everything is working fine here.


I need to track the urls here.For this i used
Request.ServerVariables["HTTP_REFERER"].ToString(); for getting the
url.


It is working fine in the internet explorer but it is failing in
mozilla and netscape.Is there any method to work in all browsers.


Thanks,
srinivas
Re: Request.ServerVariables["HTTP_REFERER"].ToString(); issue Bruce Barker
11/8/2005 9:54:55 AM
no. filling in HTTP_REFERER is optional, and many proxy servers strip it
for privacy reasons.

-- bruce (sqlwork.com)


[quoted text, click to view]

AddThis Social Bookmark Button