Lib eyeSessions checkVar
From eyeOS Wiki
Contents |
Syntax
eyeSessions('checkVar', array($varName))
or
reqLib('eyeSessions', 'checkVar', array($varName))
Description
Checks whether certain variable exists in the user's session.
Arguments
varName: name of the session variable to be checked.
Return values
Returns a boolean value indicating whether or not the variable is set.
Example
eyeSessions('checkVar', array('usertheme'));

