Session.timeout doesn't work?

2013-12-11 Thread resting
I have set Session.timeout = 1 and Session.autoRegenerate = false, in core.php. I don't have anything set for cookieTimeout so it should take the same value as Session.timeout. I verified in the cake_session table that `expires` value is constant (where cookie id = cake_session id). After 2 m

Session.timeout doesn't work?

2013-12-11 Thread resting
I have set Session.timeout = 1 and Session.autoRegenerate = false, in core.php. I don't have anything set for cookieTimeout so it should take the same value as Session.timeout. I verified in the cake_session table that `expires` value is constant (where cookie id = cake_session id). After 2 m

Re: Certain models via $uses cause non-object errors in Controller

2013-12-11 Thread Kristen M
Well, I figured it out. :: facepalm:: Typos are fail. :| On Monday, December 9, 2013 6:55:37 PM UTC-6, Kristen M wrote: > > > I need to include a couple of models in various controllers. However, when > I try to put the models in $uses() they invariably throw non-object errors > even when not

Saving Multiple Records in look

2013-12-11 Thread Sanjeev Divekar
Hello, I am facing strange problem first time. I am trying to insert simple records in database with Custom Auto Increment Values e.g 1, 2, 3. but unable to get Incremented value. Each record get updated with same max number. *Controller Code* public function dobulk() { for($i=0;$i

Array thats look like distinc function

2013-12-11 Thread Maychell Alcorin
I have this input: mon = 8:00 -9:00 Tue = 8:00 -9:00 wed = 8:00 -9:00 thur = 8:00 -9:00 Fri = 9:00 -10:00 Sat = No Sched Sun = No Sched I want the output MTWTh=8:00-9:00 F=9:00-10:00 SaSu=No Sched -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePH