Hey, I'm new to the CakePHP-Group. I joined, because I wasn't able to find any help on this.
I've built a small project management interface on Cake. All actions are done with Ajax (jQuery), so that the page doesn't have to be reloaded. Normally the website is started at morning and remains opened in a browser-tab all day. The problem is that, after some time of inactivity (maybe half an hour or so?) ajax calls fail. They are being sent by a GET-request, since there is no sensitive data being sent and it's just a tiny request, i.e. increase the attended time of a project by one hour. This is the response-header of a successful call (Safari 4): Connection:Keep-Alive Content-Length:90 Content-Type:text/html; charset=UTF-8 Date:Thu, 23 Jul 2009 10:18:26 GMT Keep-Alive:timeout=5, max=87 P3p:CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Server:Apache/2.2 Set-Cookie:DGPROJECTS=v6f2u4hevbg5djnvn8l2rlff01; expires=Thu, 30 Jul 2009 10:18:27 GMT; path=/ X-Powered-By:PHP/5.2.6 ... and this is the response-header of the same request when failing: Connection:Keep-Alive Content-Length:0 Content-Type:text/html Date:Thu, 23 Jul 2009 10:00:33 GMT Keep-Alive:timeout=5, max=100 P3p:CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Server:Apache/2.2 X-Pad:avoid browser bug X-Powered-By:PHP/5.2.6 After refreshing the page everything works fine. Does anybody know help on this?! Thanks!! moe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
