Icon TWebServerSessionVariables

Unit: WebSrvr

Inherits From TExternalObject

Available In: Server Applications

The TWebServerSessionVariables class represents the user-defined session variables for a given web server session. The session variables are variant values associated with specific string keys and have a lifetime equivalent to the web server session. This means that you can store data here that will be accessible to server applications across multiple web server requests.

Warning Do not store class instance, class, method, or function/procedure references as session variables, as all of these types of data will not outlive the session and will most likely represent an invalid reference when accessed in subsequent web server requests.


Image