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?
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?