Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
In php do the $_SESSION values get stored in the RAM? and is there a way to configure it?
The location of the $_SESSION variable storage is determined by PHP's session.save_path configuration. Usually this is /tmp on a Linux/Unix system.
we can use $_SESSION['sessio_name]
In Zend Frame work
$nameSpaceName = new Zend_Session_Namespace('namesapcename');
$valueIs = $nameSpaceName->sessionName ;
$_SESSION is one of the 9 super global arrays...it is stored in webserver where as $_COOKIES stored in web browser
$_SESSION variable alsways gets stored on the server side
Sessions are used to store value at server side.
A session creates a file in a temporary directory on the server where registered session variables and their values are stored. This data will be available to all pages on the site during that visit.The location of the temporary file is determined by a setting in the php.ini file called session.save_path.