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. Qualified Domain Name in ASP

Qualified Domain Name in ASP

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomsysadminhelp
6 Posts 4 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.
  • A Offline
    A Offline
    Arun Abraham Jose
    wrote on last edited by
    #1

    We are facing a problem in retrieving the fully-qualified domain name (for example IN.domain.com) from ISS server in ASP(not ASP.Net). I have tried using "<%= Request.ServerVariables("LOGON_USER") %>" server variable but this returns only a part of domain name(for eg:”IN”). Could you please suggest us a method to retrieve the complete domain name?

    With Regards, Abraham Chethuvelil

    S E 2 Replies Last reply
    0
    • A Arun Abraham Jose

      We are facing a problem in retrieving the fully-qualified domain name (for example IN.domain.com) from ISS server in ASP(not ASP.Net). I have tried using "<%= Request.ServerVariables("LOGON_USER") %>" server variable but this returns only a part of domain name(for eg:”IN”). Could you please suggest us a method to retrieve the complete domain name?

      With Regards, Abraham Chethuvelil

      S Offline
      S Offline
      Sajid A
      wrote on last edited by
      #2

      Hi Dear Use System.Envirnment Namespace, It will give you waht u want. Cheers :rolleyes:

      Sajid A.

      J 1 Reply Last reply
      0
      • S Sajid A

        Hi Dear Use System.Envirnment Namespace, It will give you waht u want. Cheers :rolleyes:

        Sajid A.

        J Offline
        J Offline
        J4amieC
        wrote on last edited by
        #3

        Sajid A. wrote:

        Use System.Envirnment Namespace

        There's no System.Envirnment[sic] namespace in .NET let alone classic ASP! :rolleyes: indeed!

        A 1 Reply Last reply
        0
        • A Arun Abraham Jose

          We are facing a problem in retrieving the fully-qualified domain name (for example IN.domain.com) from ISS server in ASP(not ASP.Net). I have tried using "<%= Request.ServerVariables("LOGON_USER") %>" server variable but this returns only a part of domain name(for eg:”IN”). Could you please suggest us a method to retrieve the complete domain name?

          With Regards, Abraham Chethuvelil

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          This should be posted on an ASP forum, you will struggle to find a solution posting here. It looks like your request is stopping after the . so you need to find a way of bypassing that and include it as a normal character

          We are not a Code Charity

          1 Reply Last reply
          0
          • J J4amieC

            Sajid A. wrote:

            Use System.Envirnment Namespace

            There's no System.Envirnment[sic] namespace in .NET let alone classic ASP! :rolleyes: indeed!

            A Offline
            A Offline
            Arun Abraham Jose
            wrote on last edited by
            #5

            The requirement is not in ASP.Net it is for ASP

            With Regards, Abraham Chethuvelil

            E 1 Reply Last reply
            0
            • A Arun Abraham Jose

              The requirement is not in ASP.Net it is for ASP

              With Regards, Abraham Chethuvelil

              E Offline
              E Offline
              eyeseetee
              wrote on last edited by
              #6

              Then you need to use another forum because this is an asp.net forum

              We are not a Code Charity

              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