Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to geth the URL of redirecting Website ?

How to geth the URL of redirecting Website ?

Scheduled Pinned Locked Moved ASP.NET
questionwindows-admintutorial
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    King Shez
    wrote on last edited by
    #1

    HI I Have scenario in which there are two websites configures in IIS 6 i have redirected the Website A to Website B in IIS, how can i track that user has enter the URL of Website A and redirected to Website B ?, kindly reply ASAP, thanks in Advance.

    J 1 Reply Last reply
    0
    • K King Shez

      HI I Have scenario in which there are two websites configures in IIS 6 i have redirected the Website A to Website B in IIS, how can i track that user has enter the URL of Website A and redirected to Website B ?, kindly reply ASAP, thanks in Advance.

      J Offline
      J Offline
      johnsontroye
      wrote on last edited by
      #2

      Try this: Request.ServerVariables("HTTP_Referer")

      Troy Johnson www.anothercodesite.com/blog

      K 1 Reply Last reply
      0
      • J johnsontroye

        Try this: Request.ServerVariables("HTTP_Referer")

        Troy Johnson www.anothercodesite.com/blog

        K Offline
        K Offline
        King Shez
        wrote on last edited by
        #3

        Thanks for your answer but it return null to me.

        C L 2 Replies Last reply
        0
        • K King Shez

          Thanks for your answer but it return null to me.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Because he didn't spell it right. HTTP_Referrer', I believe.

          Christian Graus Driven to the arms of OSX by Vista.

          L 1 Reply Last reply
          0
          • C Christian Graus

            Because he didn't spell it right. HTTP_Referrer', I believe.

            Christian Graus Driven to the arms of OSX by Vista.

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            Christian Graus wrote:

            Because he didn't spell it right.

            Shocking! Who could have ever guessed that getting specifications from internet forums was not as reliable as reading the documentation? Really, I mean who? :laugh: What can I say, IT'S FRIDAY! :beer:

            1 Reply Last reply
            0
            • K King Shez

              Thanks for your answer but it return null to me.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              use: Request.UrlReferrer

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups