Back to the top of the FAQ
The SetVirtualDomain method specifies which virtual domain subsequent
operations apply to, based on the supplied IP address and script name. The
parameters are easily obtained from server variables
as shown in the example below, but only if
the ASP page is within the virtual domain.
If the page is outside the virtual domain, pass
the required parameters to the page, or use the alternative
SetVirtualDomainDirect.
If you don't set this, and use other functions anyway, you will get errors like
Syntax
SetVirtualDomain(IPAddress, scriptName)
Parameters
Return Values
Returns 0 for success.
Example
The following example sets the domain and queries that domains AuthentiX database
to see if a user is a member of the domain's group 'GroupX'.
Applies To
|
|