public function set($path, $value=null) {
		#to set multiple variables at once.
		if(is_array($path)) {
			foreach($path as $k=>$v)
				static::set($k, $v);
		}
		else
			ArrayUtils::set($_SESSION, $path, $value);
	}
public function set($path, $value=null) {
		#to set multiple variables at once.
		if(is_array($path)) {
			foreach($path as $k=>$v)
				static::set($k, $v);
		}
		else
			ArrayUtils::set($_SESSION, $path, $value);
	}
public function set ( $ path , $ value = null ) { #to set multiple variables at once. if ( is_array ( $ path ) ) { foreach ( $ path as $ k => $ v ) static :: set ( $ k , $ v ) ; } else ArrayUtils :: set ( $ _SESSION , $ path , $ value ) ; }
Set a session variable.
@param array|string $path
@param mixed $value
Set a session variable .