DocuVieware Reference Guide
CreateDocuViewareSession Method

GdPicture12.WEB Namespace > DocuViewareManager Class : CreateDocuViewareSession Method
A unique identifier specifying the id of the new session to create.
The identifier of the DocuVieware control that will be associated with the new session.
Specifies the path of the cache folder. Can be an empty string if no cache folder is reachable (not recommended).
Specifies the amount of time, in minutes, allowed between requests before the DocuVieware session-state provider terminates the session.
Specifies if DocuVieware is hosted in a single server or in a Server Farm with sticky sessions (also known as session affinity).
Creates a new DocuVieware session.
Syntax
'Declaration
 
Public Shared Function CreateDocuViewareSession( _
   ByVal SessionID As String, _
   ByVal ControlID As String, _
   ByVal CacheFolder As String, _
   ByVal Timeout As Integer, _
   Optional ByVal StickySessionsEnabled As Boolean _
) As GdPictureStatus

Parameters

SessionID
A unique identifier specifying the id of the new session to create.
ControlID
The identifier of the DocuVieware control that will be associated with the new session.
CacheFolder
Specifies the path of the cache folder. Can be an empty string if no cache folder is reachable (not recommended).
Timeout
Specifies the amount of time, in minutes, allowed between requests before the DocuVieware session-state provider terminates the session.
StickySessionsEnabled
Specifies if DocuVieware is hosted in a single server or in a Server Farm with sticky sessions (also known as session affinity).

Return Value

A member of the GdPictureStatus enumeration.
See Also

Reference

DocuViewareManager Class
DocuViewareManager Members