SessionService  (since version 2.0)
Type Service
Constants
string SESSION_PROFILE = " SessionService "
The session profile prefix will be added to all available sessions.
Description
The session service offerts the ability to store the session values with an created cache service profile attached.

You can read, create and delete sessions values at any time.

The session service uses an cookie on the browser side to store the sessionUID. It is aso posible to get the sessionUID and use it within the URL parmeters.
Examples
<?php

// set the session lifetime to 24 hours in secods (default 12 hours)
SessionService::SetSessionLifetime(86400);

// start the session
SessionService::Start();

// add an value to the session
SessionService::Set('name''tom');


// stop session and remove it from cache handler
SessionService::Stop();

?>

Last change 10/13/2009




Administration