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

S

srinivas

Hi,

Request.ServerVariables["HTTP_REFERER"].ToString(); is not
working for all browsers.In netscape it isreturning the current url
rather than current url.Is there any alternative method to get the
previous url in dotnet.

Thanks,
 
T

Thomas 'PointedEars' Lahn

srinivas said:
Request.ServerVariables["HTTP_REFERER"].ToString(); is not
working for all browsers.

Of course it does not. User agents are not required to send
that HTTP header.
In netscape

Which of the numerous Netscape versions are you referring to?
it isreturning the current url rather than current url.
Pardon?

Is there any alternative method to get the previous url in dotnet.

Unless you transfer it explicitly to the server: no.
And it is not at all a .NET issue.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top