Sets current cookie into the Http Header to be used when uploading scanned images through POST.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.1 | Since V6.1 | Since V6.4 |
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:
//return a cookie from server
HttpCookie cookie = new HttpCookie("UserName", "tom");
Response.Cookies.Add(cookie);
...
in JavaScript
WebTWAIN.SetCookie(document.cookie);
TWAIN ActiveX |
TWAIN Plug-in |
TWAIN Control |
TWAIN SDK |
Scanner COM
Software Configuration Management |
Version Control |
Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.