Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: GetBasicSessionData

Scoped Name

APIServer.Session.GetBasicSessionData

Interface

Field Variable Description
SessionSurrogate Input The identification of the current session.
SiteKey Output The identification of the current site.
StaticKeyUserPwdCrypt Output The value used when encrypting passwords (for future use).
DynamicKeyWebSign Output The key used for signing WebInput fields.
FolderListID Output The Folder List used to find the templates.
UserSurrogate Output The Identification of the current user.
MenuLinkSurrogate Output Surrogate for last activated menu item in the site structure.
SessionStatus Output The status of the session (Active, Inactive, or TooManyFailedLogins)..
HttpUrl Output The full URL to access the current site.
HttpsUrl Output The full URL to access the current site if using SSL.
FormAction Output The URL path used in FORM elements on the generated HTML pages.
IpAddress Output The IP address of the current session.
CreationDate Output The creation date of the session.
CreationTime Output The creation time of the session.
LastRequestDate Output The date of the last request for the session.
LastRequestTime Output The time of the last request for the session.
RequestCount Output The number of requests done by the current session.
SessionTimeOut Output The timeout (in minutes) assigned to the session.

Description

Returns the session information and selected information from the current site.

This function is called in the initialize subroutine of all EventHandlerForProcess and PageGeneratorForProcess functions. If you need information about the current session in other parts of your application you can call this function.

Events

WSE0012 - Error reading session

WSE0017 - Error reading site

Universal events