Suppression element qui ne semble pas intervenir dans la session
This commit is contained in:
commit
e8c6082d4c
@ -351,15 +351,6 @@ class UserController extends Zend_Controller_Action
|
||||
$this->view->message.= $message."<br/>";
|
||||
}
|
||||
} else {
|
||||
$timeout = $auth->getIdentity()->timeout;
|
||||
|
||||
//Ecrit un cookie persistant valide pendant le temps definit
|
||||
Zend_Session::rememberMe($timeout);
|
||||
|
||||
$storage = new Zend_Auth_Storage_Session();
|
||||
$sessionNamespace = new Zend_Session_Namespace($storage->getNamespace());
|
||||
$sessionNamespace->setExpirationSeconds($timeout);
|
||||
$auth->setStorage($storage);
|
||||
$url = '';
|
||||
if (Zend_Session::namespaceIsset('login')){
|
||||
$session = new Zend_Session_Namespace('login');
|
||||
|
@ -48,7 +48,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
|
||||
} else {
|
||||
$storage = new Zend_Auth_Storage_Session();
|
||||
$session = new Zend_Session_Namespace($storage->getNamespace());
|
||||
$session->setExpirationSeconds(86400);
|
||||
//$session->setExpirationSeconds(86400);
|
||||
$auth->setStorage($storage);
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,11 @@ class SessionEntreprise
|
||||
{
|
||||
protected $index = 'entrep';
|
||||
|
||||
/**
|
||||
* @param string $siret
|
||||
* @param int $id
|
||||
* @param boolean $set
|
||||
*/
|
||||
public function __construct($siret, $id = 0, $set = false)
|
||||
{
|
||||
if ( !empty($siret) || !empty($id) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user