Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default UrlReferrer issue

    Hi all!

    I am developing an intranet app and have a problem with the
    Request.UrlReferrer object.

    I use it to keep a "linkstack" of all pages visited on the app to let the
    user surf thru pages (the IE toolbar is not visible).

    I tested it ok on intranet and internet with win2k clients. The problem
    which happens with XP clients is that SOMETIMES the
    Request.UrlReferrer.AbsoluteUri is nothing, leaving the site clueless on
    what to put on the linkstack... Is this a bug, or sometimes UrlReferrer CAN
    be nothing (when?). Is there any other way i can track referrer (ie
    previous) page visited?

    Thanx to anyone will answer

    Bye

    Yoyo


    Yoyo Guest

  2. Similar Questions and Discussions

    1. 4GL V7.32 issue
      OK, testing i4GL V7.32 on HP-UX 11i, IDS9.40. The following code is coredumping: (this is a cut down version of a bigger file, to the point where...
    2. problems with Request.UrlReferrer
      i have found a problem when using Request.UrlReferrer. if i call the page using a javascript function, the referrer is null... i need to call a...
    3. IIS 5.1 and ASP.net issue
      I'd suggest posting to a DotNet group...this one is for ASP (classic asp, not ASPX) :} --...
    4. Request.UrlReferrer and SSL certificate
      I have a website that checks the Request.UrlReferrer variable. This routine was working ok, until we created a ssl certificate on the server. Now,...
    5. Request.UrlReferrer is nothing
      I have a website that checks for the correct referer and it was working fine until we implemented and ssl certificate (https). Now, the...
  3. #2

    Default Re: UrlReferrer issue

    Hi

    There is no guarantee of referrer
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/referrer.asp[/url]
    also using script to set location will kill referrer

    Are you only tracking pages within system... You could use
    Request.ServerVariables["SCRIPT_NAME"].toString();
    to track user...

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Yoyo" <x@x.com> wrote in message
    news:mGSQa.58956$qa5.1299868@news2.tin.it...
    > Hi all!
    >
    > I am developing an intranet app and have a problem with the
    > Request.UrlReferrer object.
    >
    > I use it to keep a "linkstack" of all pages visited on the app to let the
    > user surf thru pages (the IE toolbar is not visible).
    >
    > I tested it ok on intranet and internet with win2k clients. The problem
    > which happens with XP clients is that SOMETIMES the
    > Request.UrlReferrer.AbsoluteUri is nothing, leaving the site clueless on
    > what to put on the linkstack... Is this a bug, or sometimes UrlReferrer
    CAN
    > be nothing (when?). Is there any other way i can track referrer (ie
    > previous) page visited?
    >
    > Thanx to anyone will answer
    >
    > Bye
    >
    > Yoyo
    >
    >

    Vidar Petursson Guest

  4. #3

    Default Re: UrlReferrer issue

    Thanx to both for answering,

    I solved my problem using

    ServerVariables("SCRIPT_NAME") for the page and
    ServerVariables("QUERY_STRING") for the parameters sent.

    Bye

    Yoyo


    Yoyo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139