: Darby Felton [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 December 2007 11:24 PM
To: Steven Brown
Cc: 'Laurent Melmoux'; 'Zend Framework General'
Subject: Re: [fw-general] Zend_Session::start() and remember me
Maybe you have output buffering enabled?
Steven Brown wrote:
Actually I found I could
'; 'Zend Framework General'
Subject: [fw-general] Re: *** PROBABLY SPAM *** RE: [fw-general]
Zend_Session::start() and remember me
Do var_dump(session_get_cookie_params()) at the end of your bootstrap
If you have :
'lifetime' = int 1209600 then it is working.
If I call Zend_Session
-general] Zend_Session::start() and remember me
Are you sure it is working? Zend_Session::rememberMe() is calling
Zend_Session::rememberUntil() which is calling the php function
session_set_cookie_params () (http://php.net/session_set_cookie_params)
. This function configures the cookie use
]
Sent: Friday, 7 December 2007 8:24 PM
To: Steven Brown
Cc: 'Darby Felton'; 'Zend Framework General'
Subject: [fw-general] Re: *** PROBABLY SPAM *** RE: [fw-general]
Zend_Session::start() and remember me
Do var_dump(session_get_cookie_params()) at the end of your bootstrap
If you have :
'lifetime
-general] Zend_Session::start() and remember me
Are you sure it is working? Zend_Session::rememberMe() is calling
Zend_Session::rememberUntil() which is calling the php function
session_set_cookie_params () (http://php.net/session_set_cookie_params)
. This function configures the cookie use
reading the manual however it seems to work
fine.
-Original Message-
From: Laurent Melmoux [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 December 2007 1:34 AM
To: Darby Felton
Cc: Zend Framework General
Subject: Re: [fw-general] Zend_Session::start() and remember me
Darby Felton
Hi Laurent,
IIRC, Zend_Session::rememberMe() uses session_set_cookie_params(). Thus,
it must be called before the session is started to work properly. This
is documented here:
Laurent Melmoux wrote:
Hi Darby,
I found this quote of Ralph in the archive :
a. You start a session..
b. Do stuff..
c. Go to login page, complete and click remember me..
d. Now, your controller/script detects the posted rememberme, and then
issues a Zend_Session_Core::rememberMe();
Darby Felton a écrit :
d1. what happens now is the client is sent a cookie named REMEMBERME=true,
e. The next page visit that Zend_Session is started on will see the
REMEMBERME cookie, then change the SESSION COOKIE to a persistent cookie
(for as long as the remember me secionds value). The
Message-
From: Laurent Melmoux [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 December 2007 1:34 AM
To: Darby Felton
Cc: Zend Framework General
Subject: Re: [fw-general] Zend_Session::start() and remember me
Darby Felton a écrit :
d1. what happens now is the client is sent a cookie named
the manual however it seems to work
fine.
-Original Message-
From: Laurent Melmoux [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 December 2007 1:34 AM
To: Darby Felton
Cc: Zend Framework General
Subject: Re: [fw-general] Zend_Session::start() and remember me
Darby Felton a écrit :
d1
11 matches
Mail list logo