Re: Where request came from/referrer



UrlRefer is filled in by the browser and optional. Many proxy servers will
strip it for security reasons, I expect most browsers will all stop
supporting it. if your want to know where in your site a link came from, add
a url parameter to it.

http://mysite/somepage.aspx?source=login


-- bruce (sqlwork.com)







"Sega" <Sega@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:61AAB24D-8D4B-48C4-B7C8-EBB2733039DC@xxxxxxxxxxxxxxxx
I am trying to find where my user came from - in particular whether they
came
from our application login on our own site or whether they came by keying
the
url directly without going through our login.

Currently I am using the following code, but would be happy to change to
something more effective.
Dim MyUrl As Uri = Request.UrlReferrer
If MyUrl Is Nothing Then
gvMyUrl = "nothing"
Else
gvMyUrl = MyUrl.ToString
End If


No matter how the user comes to my app I am getting "nothing". That is to
be expected if keying the URL directly. When using the logon I am still
getting nothing. Is that because it is coming from a secure site (the
logon)
to my app which is not on a secure site?

Any ideas how to get this "where from" info.

Thanks for any help I can get. I am desperate to solve this and not
really
experienced in this area.



.



Relevant Pages

  • Re: Basic password security question
    ... If you are doing a secure site where you will be collecting data like ... was secure over http. ... I assumed that the browser does encryption before ... Is my assumption about the browser providing encryption on special input ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Form posting to other and sending email
    ... It still doesn't work as the secure site is set to retrieve info for a ... Even though I have named the confirmation page, my browser ... > secure site it seems to work. ...
    (microsoft.public.frontpage.client)
  • Selenium, secure connection failed, security certificate
    ... I am doing some testing with Selenium, ... The site I am testing is a secure site with username and password. ... new browser is opened, and this browser is cleen like a freshly ... The certificate is not trusted because the issuer certificate is ...
    (comp.lang.ruby)
  • Disable remember me popup
    ... Is there a way to disable the popup "remember me" feature ... in a browser. ... It happens when you enter a secure site that ... requires logon. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: browser history - back button.
    ... the best you can do is expire the pages, so the browser will rerequest them ... (unless the user turns this off). ... -- bruce ... > We are developing a secure site. ...
    (microsoft.public.dotnet.framework.aspnet)