Hey,

sure but I wouldn't store permission data or anything else in there
what defines a users access to the system itself. For other stuff it
would be ok I guess.

One thing would be very interesting: is there any way to write to a
session of a user from within the app when the Session ID is known? I
guess not...



On 11 Nov., 19:23, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> Ever heard of a session?
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 11 Nov 2011, at 15:50, DigitalDude wrote:
>
> > Hey,
>
> > I was wondering if there is a chance to speed things up a little bit
> > by improving some functions in my app.
>
> > One question that comes to mind is for example a sidebar. Currently, I
> > run some finds and gather some data for the sidebar (latest news,
> > status of the user, number of notifications etc) and set them to the
> > view from within the app_controller's before filter/render function.
>
> > So what I'm interested in is a technique to get this data when the
> > user logs in, save them somewhere statically and maybe update this
> > data ONLY when changes are made to the model/database.
>
> > Does anyone of you know ANY way to accomplish this with cake? I think
> > it is a bit redundant to constantly run these queries everytime the
> > app_controller is called and it could save a lot of time when those
> > queries could be cached or something like that.
>
> > Only thing important is that when changes happen there should be a way
> > to then "manually" update those static info of the user so it does not
> > take a re-login to update the data.
>
> > Any ideas?
>
> > Regards,
>
> > DD
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to