IIS ASP - Help!! Obtain URL from ASP

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > May 2004 > Help!! Obtain URL from ASP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help!! Obtain URL from ASP
Marco

2004-05-31, 7:50 am

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

2004-05-31, 10:51 am

request.servervariables("HTTP_HOST")

--

Regards

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

Keeping it FREE!


"Marco" <hgt_03@hotmail.com> wrote in message
news:6hEuc.82720$Qc.3293877@twister1.libero.it...
> 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

2004-05-31, 10:51 am

Thank you very much!
Grazie.

"Steven Burn" <pvt@noyb.com> ha scritto nel messaggio
news:%23ldIFaxREHA.1448@TK2MSFTNGP11.phx.gbl...
> request.servervariables("HTTP_HOST")
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Marco" <hgt_03@hotmail.com> wrote in message
> news:6hEuc.82720$Qc.3293877@twister1.libero.it...
> name.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com