__construct()
__construct(string $keyname)
Constructor.
Parameters
| string | $keyname | An optional primary key for the session data. The key is useful for preventing conflicts in session data stored by different modules or actions. |
A simple class for storing, and retrieving data from the session.
Sample Usage:
$sess = new cge_session(FILE);
$sess->put('foo','bar');
$foo = $sess->get('foo');