On Sun, Mar 16, 2008 at 8:58 AM, jano <[EMAIL PROTECTED]> wrote: > > I'm sorry to bother you with this strange problem, but I don't know > really how manage it. > Permorfing some action in my cake application, variables session are > 'sometimes' resetted. It happens not so often, and in a unpredictable > way: i.e. the same manipulation, repeated again, does not have this > 'reset'.
Here's a crazy thought: you are doing something wrong in your code. I have found in my vast experience with CakePHP that sessions don't magically disappear, but they disappear for a variety of well-known reasons. Some of which you might be able to find by searching this Google group. If you are using CakePHP 1.2, I suggest you check in config/core.php and see what you've set Session.checkAgent to be. If you are doing anything with Ajax, you usually need to set this to 'false' or else it causes a new session to be created, thus dumping all your old session information. I suggest pasting some of your code into bin.cakephp.org so others can see what you're doing. When doing anything in Cake, I believe there is a really good rule to follow: Don't assume it's a bug in Cake if your code won't work properly. -- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
