Tuesday 09 March 2004 2:48:57 am
You can set a session variable by doing:
$http =& eZHTTPTool::instance(); $http->setSessionVariable( "MyVar", "MyValue" );
You can read the session variable by doing:
if ( $http->hasSessionVariable( "MyVar" ) ) $myVar = $http->sessionVariable( "MyVar" ); This is PHP code, you cannot set session variables in templates. --bård
Documentation: http://ez.no/doc
|