Re: Cake 1.2 - Session woes

2007-05-01 Thread buzznut
Here is the exact code that I am using. function overview($id = null) { if (!$id) { $this-Session-setFlash('Invalid Company.'); $this-redirect(array('action'='index'), null, true); } $company = $this-Company-read(null, $id);

Re: Cake 1.2 - Session woes

2007-05-01 Thread Bluefrog
I found the problem and wanted to post my findings here just in case someone else encounters the same thing. I was using the following in my default.ctp file and it seemed to be causing the problem for my sessions. link rel=next href=./index.html title=Next page / I don't understand why and

Cake 1.2 - Session woes

2007-04-30 Thread buzznut
I am having a difficult time working with sessions in my cake 1.2 app. It doesn't appear to be behaving the way that I expect. I have an action that sets a variable using the following line of code. $this-Session-write('companyName',$company['Company']['name']); When I access this action and