src/session/session.ts
Data object containing session information.
Properties |
|
Accessors |
constructor(sessionId: SessionId, sessionName: string, parent: Session | undefined, _baseUrl: string | undefined, sessionTimeoutInSeconds: number, csrfToken: string, requestWard: string | undefined, localization: Localization, pageModel: PageModel, externalSessionInfo: ExternalSessionInfo | undefined)
|
|||||||||||||||||||||||||||||||||
Parameters :
|
Public Readonly csrfToken |
Type : string
|
Public Readonly externalSessionInfo |
Type : ExternalSessionInfo | undefined
|
Readonly form |
Default value : new BlueriqForm(this)
|
Each session has access to a BlueriqForm instance that provides access to form data. |
Public Readonly localization |
Type : Localization
|
Public Readonly pageModel |
Type : PageModel
|
Public Readonly parent |
Type : Session | undefined
|
Public Readonly requestWard |
Type : string | undefined
|
Public Readonly sessionId |
Type : SessionId
|
Public Readonly sessionName |
Type : string
|
Public Readonly sessionTimeoutInSeconds |
Type : number
|
baseUrl |
getbaseUrl()
|
Returns the base URL of the Runtime that hosts this session.
Returns :
string | undefined
|
root |
getroot()
|
Obtains the root session of this session, which may be the session itself.
Returns :
Session
|