Re: $this-Auth-user() cached? - Cake 1.2

2008-05-22 Thread theandystratton
I don't understand what you're trying to do here. Are you trying to refresh the $user variable or the data in the session? I'm trying to find an easy way to refresh the data held in $this-Auth- user() -- is that just pointing to the User value in the session? I'm not sure how the Auth object

Re: $this-Auth-user() cached? - Cake 1.2

2008-05-22 Thread b logica
On Thu, May 22, 2008 at 11:28 AM, theandystratton [EMAIL PROTECTED] wrote: I don't understand what you're trying to do here. Are you trying to refresh the $user variable or the data in the session? I'm trying to find an easy way to refresh the data held in $this-Auth- user() But you're

Re: $this-Auth-user() cached? - Cake 1.2

2008-05-22 Thread Stephen Orr
Basically, it looks like the Auth data is not refreshed on each page load. I can understand why you wouldn't want to do this - performance notwithstanding - but I've run into a few issues with it myself (primarily dealing with having an online store where the customer could change their email

$this-Auth-user() cached? - Cake 1.2

2008-05-21 Thread theandystratton
Just wondering if the array of data return from $this-Auth-user() is cached (either on disk or session) by default? When creating an admin screen to update some fields the user model returned from $this-Auth-user() was not updated. If so, is there a quick way to refresh? My current fix: $user

Re: $this-Auth-user() cached? - Cake 1.2

2008-05-21 Thread b logica
On Wed, May 21, 2008 at 5:00 PM, theandystratton [EMAIL PROTECTED] wrote: Just wondering if the array of data return from $this-Auth-user() is cached (either on disk or session) by default? When creating an admin screen to update some fields the user model returned from $this-Auth-user()