See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
dtSearch::Spider::FormAuthenticationInfo Structure

Form authentication settings to use to connect to a web site.

C#
[Serializable]
public struct FormAuthenticationInfo {
  public String FormAuthenticationUrl;
  public String FormAuthenticationData;
  public bool AuthenticateViaPost;
  public bool HaveData;
}
Visual Basic
<Serializable>
Public Structure FormAuthenticationInfo
  Public FormAuthenticationUrl As String
  Public FormAuthenticationData As String
  Public AuthenticateViaPost As bool
  Public HaveData As bool
End Structure
Members
Members 
Description 
FormAuthenticationUrl 
URL to send the authentication data to  
FormAuthenticationData 
Authentication data to send to the server  
AuthenticateViaPost 
If true, authentication data will be sent using an HTTP POST request instead of a GET request  
HaveData 
If HaveData is not true, all values in FormAuthenticationInfo will be ignored when connecting to the web site  
Remarks

Form authentication is done using a POST or GET HTTP request, consisting of one or more names values in FormAuthenticationData, which must be formatted as a valid POST or GET request, like this: field=value&field2=value2  

 

See Also
You are here: dtSearch::Spider Namespace > FormAuthenticationInfo Structure
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.