Re: Authentication & Authorization in CakePHP 2.0
On Oct 27, 7:11 am, Anand Ramamurthy <anand8...@gmail.com> wrote:
> After much debugging I realized that my 'Session.timeout' was set to 0
> hence my session data was being dropped for every request. once I set
> it to a 3600, the sessions remained and authorizations were succesful
> But now this leads to another quandary. If I set the timeout to a
> value and the user closes the browser without logging out, I would
> like his/ her session to end and not remain because it hasnt reached
> its timeout.
That's how sessions work; the session cookie disappears when you close
your browser (all windows/tabs pointing at the same site).
If you see something different you're looking at the wrong problem.
> How can I accomplish this ? Any ideas?
you don't do anything.
AD
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home