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. Advertising

  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. Advertising

  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. Advertising

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:
    943
  2. Replies:
    2
    Views:
    438
    Arved Sandstrom
    Mar 17, 2009
  3. Just D.
    Replies:
    0
    Views:
    549
    Just D.
    Aug 11, 2004
  4. crjunk

    Obtain URL with Request.ServerVariables

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

    Obtain the URL, something wrong

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

Share This Page