HTTP_Referer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm writing an application where I need to know the URL of the user that
entered my application (the user comes in from a completely different site
who knows where and who knows how). For all I know, the user wrote an HTML
page with a button that does
window.open("http://mywebpage/myloginpage.aspx").

So in myloginpage.aspx, I check for the following:
Dim strWhere As String = Request.ServerVariables("HTTP_REFERER")
But its always nothing. (I also tried Request.URLReferer and thats nothing
too)
Is there maybe another method to know ALWAYS what page the client app that
opens my web page comes from??
Or am I missing something in my setup (of IIS maybe?) to force HTTP_Referer
to work?
 
I do not beleive the browser is required to send this information. In other
words, those fields are not dependable.
 

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

Back
Top