Help!! Obtain URL from ASP

Discussion in 'ASP General' started by Marco, May 31, 2004.

  1. Marco

    Marco Guest

    I need to obtain the domain from server side code.

    Request.Servervariables("URL") doesn't work well... it miss the domain name.

    I tried to use the WScript.NetWork object but the domain is not visible.

    Help me please!!

    Thanks.
    Mark
     
    Marco, May 31, 2004
    #1
    1. Advertisements

  2. Marco

    Steven Burn Guest

    request.servervariables("HTTP_HOST")

    --

    Regards

    Steven Burn
    Ur I.T. Mate Group
    www.it-mate.co.uk

    Keeping it FREE!


    "Marco" <> wrote in message
    news:6hEuc.82720$...
    > I need to obtain the domain from server side code.
    >
    > Request.Servervariables("URL") doesn't work well... it miss the domain

    name.
    >
    > I tried to use the WScript.NetWork object but the domain is not visible.
    >
    > Help me please!!
    >
    > Thanks.
    > Mark
    >
    >
     
    Steven Burn, May 31, 2004
    #2
    1. Advertisements

  3. Marco

    Marco Guest

    Thank you very much!
    Grazie.

    "Steven Burn" <> ha scritto nel messaggio
    news:%...
    > request.servervariables("HTTP_HOST")
    >
    > --
    >
    > Regards
    >
    > Steven Burn
    > Ur I.T. Mate Group
    > www.it-mate.co.uk
    >
    > Keeping it FREE!
    >
    >
    > "Marco" <> wrote in message
    > news:6hEuc.82720$...
    > > I need to obtain the domain from server side code.
    > >
    > > Request.Servervariables("URL") doesn't work well... it miss the domain

    > name.
    > >
    > > I tried to use the WScript.NetWork object but the domain is not visible.
    > >
    > > Help me please!!
    > >
    > > Thanks.
    > > Mark
    > >
    > >

    >
    >
     
    Marco, May 31, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon paugh
    Replies:
    1
    Views:
    1,365
  2. =?Utf-8?B?U3RldmU=?=

    how to obtain login ID and domain name in c#.asp?

    =?Utf-8?B?U3RldmU=?=, Aug 11, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    914
    =?Utf-8?B?U3RldmU=?=
    Aug 11, 2004
  3. Edwin Knoppert

    Ansi BSTR from dll, how to obtain in ASP.NET

    Edwin Knoppert, Dec 7, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    503
    Edwin Knoppert
    Dec 7, 2005
  4. James
    Replies:
    0
    Views:
    500
    James
    Jan 15, 2006
  5. Replies:
    2
    Views:
    531
    Arved Sandstrom
    Mar 17, 2009
  6. Just D.
    Replies:
    0
    Views:
    822
    Just D.
    Aug 11, 2004
  7. crjunk

    Obtain URL with Request.ServerVariables

    crjunk, May 17, 2005, in forum: ASP General
    Replies:
    3
    Views:
    206
    Steven Burn
    May 17, 2005
  8. Jose Huerta

    Obtain the URL, something wrong

    Jose Huerta, Oct 7, 2009, in forum: ASP General
    Replies:
    2
    Views:
    808
    Adrienne Boswell
    Oct 7, 2009
Loading...