Re: Session variables in a controllerq

2007-12-30 Thread Robby Anderson
Oops. That last part was supposed to be: $this->Session->read('some-session-data'). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com T

Re: Session variables in a controllerq

2007-12-30 Thread Robby Anderson
If you're accessing it as $sess_city in your view (default.thtml), then chances are somewhere in your controller you're setting it with $this->set('sess_city', 'some-session-data'). The method set() queues up the named variable for use in the view, but I don't think you can access it that variabl

Session variables in a controllerq

2007-12-30 Thread mcphisto
That's my problem I have users that use my application. They log in and I save in session variables some data. I need one of this variable in a controller for a query. I can get one this variable in default.thtml stored in $sess_city. When I use it in one of the controllers, it says that the varia