Sunday, January 30, 2011

Re: Generic Question: Keeping the session alive.

I did change it in CakePHP, but due to server complications, this still wasn't long enough.

Besides, if need be, I could concentrate on editing the php.ini but I would prefer to leave that alone, is there any reason why the AJAX method is a bad method?

Besides leaving the website logged in and going away for long periods of time.

On 30 January 2011 16:31, Ryan Schmidt <google-2010@ryandesign.com> wrote:
On Jan 30, 2011, at 10:27, Stephen wrote:

> Every so often, the website will send a 1-way request to a generic "ping" function, this will keep the session alive indefinately (if the user opted for this feature on sign in)

Why don't you just increase the session lifetime in your php.ini?



--
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



--
Kind Regards
 Stephen @ NinjaCoderMonkey

 www.ninjacodermonkey.co.uk


--
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

No comments: