Sorry for all of these messages. I'm continuing to see more and more pieces of the puzzle....
After looking at the response header of the first successful response, there is a set-cookie header: Set-Cookie CAKEPHP=deleted; expires=Fri, 23-May-2008 23:04:12 GMT; path=/ CAKEPHP=ddfc467602564dd86ac7b7eb98e04020; path=/ So the first successful response from cake resets the cookie, but the other requests are still going with the old cookie. So what I need is for cake not to reset the cookie. How do I do that? --Andrew On May 23, 5:59 pm, Andrew Koebbe <[email protected]> wrote: > Ok. So I found the culprit, but I'm not sure how to fix it. > > The problem is the ACL. It seems like one of the ajax requests has the > credentials, but the other requests do not, so they are getting sent > to a login prompt. If allow access to the ajax controllers to everyone > then they work every time with the ajax request. Obviously allowing > access to the controllers to everyone is not desirable. So is there > something I need to change so that the credentials are being passed to > the controller? > > --Andrew > > On May 23, 5:45 pm, Andrew Koebbe <[email protected]> wrote: > > > Nevermind. I've totally uninstalled firebug and I still get sporadic > > 403s on ajax requests. Sometimes everything will load, and sometimes > > only one request will work. I can't seem to find any rhyme or reason. > > Any help would be appreciated. > > > --Andrew > > > On May 23, 3:43 pm, Andrew Koebbe <[email protected]> wrote: > > > > Ok. Oddly enough, when I disable firebug, all of the requests come > > > back just fine. I'd still like it to work with firebug so that I can > > > use it to debug everything. Anyone else had that problem? > > > > --Andrew > > > > On May 23, 3:35 pm, Andrew Koebbe <[email protected]> wrote: > > > > > So I'm working with ExtJS and have a few grid that I'm populating with > > > > json data from Cake. The requests go out at the same time when the > > > > page loads, but only one of the requests succeed. Sometimes is one > > > > request and sometimes it's another. The failing requests get a 403. If > > > > i go to the url of one of the failing requests if works just fine. > > > > > Looking at firebug shows that there is a response from Cake. There are > > > > no error messages, just the sql debug table. There are no error > > > > messages in the cake error log. > > > > > Anyone got any ideas? > > > > > --Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
