From Xojo Documentation
New in 2010r4
|To refer to the current Session from within the Session object, use Self instead of Session as the prefix, especially in the Opening event because it may return Nil.|
Use the Session object to access the current user session.
If your application is going to connect to a database server, you will want to store the database connection in a property of the Session class. This will allow your application to make connections to the server on a user-by-user basis.
To access the query parameters, use the URLParameter methods to retrieve the query parameters from the Session object.