I use javascript to execute a remote function every 60 seconds. On 30 January 2011 17:35, Matt Murphy <[email protected]> wrote:
> Am I wrong, or wouldn't it be the other way around (in order to perform > what you describe)... the client sends a periodic ping to the server? > > MM > > On Sun, Jan 30, 2011 at 11:38 AM, Stephen > <[email protected]>wrote: > >> 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 <[email protected]>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 >>> [email protected]<cake-php%[email protected]>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 >> [email protected]<cake-php%[email protected]>For >> more options, visit this group at >> http://groups.google.com/group/cake-php >> > > -- > 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 > [email protected]<cake-php%[email protected]>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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
