Sets current cookie into the Http Header to be used when uploading scanned images through POST.
Void ObjectName.SetCookie(String CurrentCookie)
String CurrentCookie: the cookie on current page.
Void.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
SetCookie method makes the use of Forms Authentication or session easier than ever.
Javascript Sample:
Twain.SetCookie(document.cookie);
...
HttpCookie cookie = new HttpCookie("UserName", "tom");
Response.Cookies.Add(cookie);
|
TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.