Zend Gurus:
I have a problem with my session if I refresh the page many times quickly.?
I sign up to my site, after I logged in, I just press F5 many times quickly and my session expires. I am not an expert, but it bothers me.
Should I just give up Zend sessions? Any ideas ..?
Thanks everyone
-P
This is how I check if a user is registered.
public function isloggedin() {
$session = Zend_Registry::get('session');
if ($session->login) {
return (1);
}
else {
return 0;
}
}
bootstrap.php
This is one of the first lines in my bootstrap.
Zend_Session::start();
Zend_Session::rememberMe(864000);
source
share