Zend Gurus:
I have a problem that my session expires if I refresh a page many times quickly .. ?
I log into my site, after I\'m logged in, I just press F5 ma
Why don't make use of Zend_Auth for logging in users? I can refresh a billion time and still keep logged in.
Some how I got Zend sessions working.. I don't know exactly what I changed, but I banged on it for hours, and suddenly it worked.. Here is what I used.
I hope this can help others,
require_once ('Zend/Loader.php');
require_once ('Zend/Session.php');
Zend_Session::setOptions(array('save_path'=>APPLICATION_PATH.'/sessions/'));
Zend_Session::start ();
$session = new Zend_Session_Namespace('session');
Zend_Registry::set('session', $session);
Thanks StackOverFlow _