Re: reset Session variables without any visible cause

2008-06-23 Thread Jaime
Same for me (1.2.0.7125 RC1). I (apparently) solved id by setting Session.checkAgent = false and Security.level = medium in config.php. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to thi

Re: reset Session variables without any visible cause

2008-06-19 Thread Yuriy K.
The same problem... It's happening when I have broken images (with 404 response code) on the page. When there are no 404's -- everything is fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

Re: reset Session variables without any visible cause

2008-06-12 Thread Mike52
Whether I use: $_SESSION['captcha'] or $this->Session->read('captcha') this does not make a difference in the behavior. The security level was already set to low. To me this definitely looks like a bug in RC1. On Jun 8, 6:27 pm, "b logica" <[EMAIL PROTECTED]> wrote: > On Sun, Jun 8, 2008 at

Re: reset Session variables without any visible cause

2008-06-09 Thread Andrew Assarattanakul
I had this same problem when I upgraded from v1.2.0.6311 beta to v1.2.0.7125 RC1. For my session variables I had: Session.save = php Session.cookie = cakephp Session.timeout = 120 Session.checkAgent = true Security.level = high The problem I had was the session would loose the data that was set

Re: reset Session variables without any visible cause

2008-06-08 Thread b logica
On Sun, Jun 8, 2008 at 4:34 AM, Mike52 <[EMAIL PROTECTED]> wrote: > > I noticed this problem after upgrading from 1.2.0.6311 beta to > 1.2.0.7125 RC1 > > My captcha check did not work after upgrading. > I am using this captcha http://captcha.ru/en/kcaptcha/ in the vendors > directory. > The render

Re: reset Session variables without any visible cause

2008-06-08 Thread Mike52
I noticed this problem after upgrading from 1.2.0.6311 beta to 1.2.0.7125 RC1 My captcha check did not work after upgrading. I am using this captcha http://captcha.ru/en/kcaptcha/ in the vendors directory. The render method for the image does this: $this->controller->Session->write('captcha', $

Re: reset Session variables without any visible cause

2008-06-05 Thread francky06l
What I have noticed is, in case of Debug > 0, if you have error in your code that generates warning or error before you render the view, usually you loose your session. Basically you can make an error in view, you will be ok, in model or controller your session is lost. Maybe I am wrong, and this

Re: reset Session variables without any visible cause

2008-06-05 Thread Chris Hartjes
On Thu, Jun 5, 2008 at 3:27 PM, Jeff <[EMAIL PROTECTED]> wrote: > But, the question is, why does it happen sometimes (randomly) and not > other times. I > know exactly what the others are going through, because it is > happening > on my site too. I can do the exact same steps that killed my sessi

Re: reset Session variables without any visible cause

2008-06-05 Thread Jeff
> 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.

Re: reset Session variables without any visible cause

2008-06-05 Thread Jeff
> 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.

Re: reset Session variables without any visible cause

2008-04-25 Thread Chris Hartjes
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 unpr

Re: reset Session variables without any visible cause

2008-04-25 Thread Thomas Jones
Checked with debug set to 0, unfortunately it didn't help. On Apr 24, 5:24 pm, cradick <[EMAIL PROTECTED]> wrote: > I don't have the problem anymore, but not exactly sure why it went > away. I seem to remember that the error was related to a stack > overflow due to the debug level set at 2 (pro

Re: reset Session variables without any visible cause

2008-04-24 Thread cradick
I don't have the problem anymore, but not exactly sure why it went away. I seem to remember that the error was related to a stack overflow due to the debug level set at 2 (probably search to find this thread). This caused some custom code in my app_controller.php to fail because the variables pass

Re: reset Session variables without any visible cause

2008-04-24 Thread Thomas Jones
Same problem here. I set a variable in a component, can access it in a view but after sending the form the variables seem to be empty. strange... On Mar 30, 11:03 pm, Mauricio Morales <[EMAIL PROTECTED]> wrote: > I have the same strange problem... > > I'm working with CakePHP 1.2B and sessions s

Re: reset Session variables without any visible cause

2008-03-30 Thread Mauricio Morales
I have the same strange problem... I'm working with CakePHP 1.2B and sessions saved into a PostgreSQL Database. On Mar 16, 7: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

Re: reset Session variables without any visible cause

2008-03-30 Thread Tulio Faria
I'm having the same problem too... I usually get this error when I double-click a link. I guess there is something wrong when a cake request doesnt start and end. Does anyone have the same problem? Solutions? On 16 mar, 19:55, cradick <[EMAIL PROTECTED]> wrote: > I am having the same problem. I