Qualified Domain Name in ASP
-
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
-
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
-
Hi Dear Use System.Envirnment Namespace, It will give you waht u want. Cheers :rolleyes:
Sajid A.
-
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
-
Sajid A. wrote:
Use System.Envirnment Namespace
There's no System.Envirnment[sic] namespace in .NET let alone classic ASP! :rolleyes: indeed!
The requirement is not in ASP.Net it is for ASP
With Regards, Abraham Chethuvelil
-
The requirement is not in ASP.Net it is for ASP
With Regards, Abraham Chethuvelil