Re: LiveUser
| From: | marko | Date: | Thu, 11 Mar 2004 16:09:51 +0000 |
| Subject: | Re: LiveUser | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11234@lists.php.net to get a copy of this message | ||
Hi Lukas,
> > the authenticated user to it's storage container? Can the user
> > decide which session variables should be stored there?
>
> Err, currently liveuser fetches all the rights of the user and the
> groups that user is a member of, and also any user type relevant rights
> and builds a final right array which is cached in the session (using
> php4 session management).
Well, that's the point I intended to focus on: I always read about "rights
of the user" which get stored in php4's session management. BUT, what
about saving (the logged in users) actual session variables together with
the rights in the database structure. IS THAT DONE??? Or does the class
ONLY save/restore the users permission data? This is my main question!!! I
don't only want to save/restore the user permission, I also want to
remember the variable set of a session until the user logs in next time.
> Yes the structure can get large depending on the number of rights you
> have per user. However more importantly especially using all of the
> advanced complex features can result in a significant time being spend
> with building this array and as such it would be smart to cache this
> data longer than the session as I stated above.
Sure.
> Btw if we havent mentioned it:
> We would greatly appreciate it if all LiveUser users help improve
> Arnauds turorial or even better help build docbook documentation to
> include in the PEAR manual.
I read that already a couple of times concerning this package. I guess it
would be really worth the job.
Regards,
Marko