Location: PHPKode > scripts > PHP-PAPA > php-papa/papa/ControllerSession.php
<?php
class ControllerSession{
	public function __get($name){
//echo 'in controller session-- '.$name;

		//		//return papa_session_get($name);
		$ret =@$_SESSION['__PAPA__'.$name];
		//__log('ret = '.$ret);
		return $ret;
	}
	public function __set($name,$value){
		
		//__log("seting $name = $value");
		//papa_session_set($name,$value);
		$_SESSION['__PAPA__'.$name] = $value;
		//var_dump($_SESSION);
	}
}
?>
Return current item: PHP-PAPA