Session handling pre3.2

From Cloudrexx Development Wiki
Jump to: navigation, search

Contrexx has its own session handler in order to be independent from server configuration.

In backend mode, session is initialized automaticly, but in frontend, the session class is only loaded if necessary (user login, upload, etc.). To load the session in frontend mode, use the following code:

$sessionObj = $sessionObj ? $sessionObj : new cmsSession();

Note: This documentation refers to version 3.1 or older. For newer versions of Cloudrexx, please refer to Session handling.