VintaSoftTwain Control v6.0
VintaSoftTwain Object / HttpUpload_SetCookie Method

Cookie string.

In This Topic
    HttpUpload_SetCookie Method
    In This Topic
    Description
    Adds cookie to HTTP header of image uploading session.
    Syntax
    Visual Basic
    Public Function HttpUpload_SetCookie( _
       ByVal cookieValue As String _
    ) As Boolean
    Parameters
    cookieValue

    Cookie string.

    Return Type
    TRUE (1) if method is executed successfully, FALSE (0) otherwise.
    Remarks

    Information about error that occurs during method execution can be get using the Error and ErrorString properties.

    Cookie instances must be delimited by commas, here is an example: CUSTOMER=WILE_E_COYOTE, path=/, expires="Wednesday, 09-Nov-99 23:12:40 GMT"

    Example
    TWAIN Advanced Demo demonstrates how to acquire image from scanner and upload it onto HTTP server.
    See Also