Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Obtaining the Domain that a licensed DLL is operating under

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
mpreuett



Joined: 12 Sep 2005
Posts: 7

PostPosted: Sat Sep 17, 2005 12:02 am    Post subject: Obtaining the Domain that a licensed DLL is operating under Reply with quote

Hello everyone,
This may be an off topic request. Hopefully someone can point me in the right direction.

I have a licensed DLL that can be used in a web or windows app. What I am wondering is how can I write some function in the DLL to determine what domain the DLL is running under when it is used for a web app? I'm wanting to to do this because i have a licensing web service that I want to pass the domain to for determination on whether or not someone's subscription is active.

Any thoughts?

Thanks in advance for any suggestions.
Back to top
View user's profile Send private message Yahoo Messenger
phil morris
Guest





PostPosted: Tue Nov 01, 2005 1:44 pm    Post subject: Reply with quote

SImply use the Request.Server["HTTP_HOST'] value to extract the URL of the current web domain.
Back to top
Phil Morris
Guest





PostPosted: Tue Nov 01, 2005 2:04 pm    Post subject: Reply with quote

Er, try Request.ServerVariables[HTTP_HOST"] instead!!!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group