Re: session in beforeFilter

2008-09-02 Thread Jaime
I posted the same problem just three days ago, whichs still remains unresolved: http://groups.google.com/group/cake-php/browse_thread/thread/a6abc82e0b317b68/73e8bffdf0beb9cd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: session in beforeFilter

2008-09-02 Thread JuergenRiemer
> For me it seems to work like this: > $this->Session->id() will return false until you have read from, > written to or checked the session at least once. thanks for your reply. I experienced the same behaviour; as if I change it when trying to read it (doing sg like $this->Session- >id('')) Well

Re: session in beforeFilter

2008-09-02 Thread [EMAIL PROTECTED]
For me it seems to work like this: $this->Session->id() will return false until you have read from, written to or checked the session at least once. On Sep 2, 2:07 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Sorry, just after posting I notice that you were actually using the > method.

Re: session in beforeFilter

2008-09-02 Thread [EMAIL PROTECTED]
Sorry, just after posting I notice that you were actually using the method. So on that front I have nothing to offer. I get an id-string back each time... but I also have Auth starting the session before I get to my beforeFilter. /Martin On Sep 2, 2:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

Re: session in beforeFilter

2008-09-02 Thread [EMAIL PROTECTED]
Hi Jeurgen, I will asume we are talking about the Session component and not the actual session-class used by the component. The Session is there. Just not the id. I am not sure you should use the id directly. If you write of read some data you will notice that is there and working fine. When I ad

session in beforeFilter

2008-09-02 Thread JuergenRiemer
Hi, if I try to access $this->Session->id() in the beforeFilter function it is empty. function beforeFilter(){ debug( $this->Session->id() ); } Yet the session is there, if I ask for it in the "rest" of my controller functions Do I overlook anything? thx Jeurgen --~--~-~--~~