Re: session management
| From: | ajay | Date: | Fri, 30 Jan 2004 06:20:06 +0000 |
| Subject: | Re: session management | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176302@lists.php.net to get a copy of this message | ||
have a user bean, and then session.setAttribute("user", userBean);
do session.getAttribute("user") and validate before processing every request.
Quoting Raditha Dissanayake <jabber@raditha.com>:
> Last time i read the j2ee api i didn't notice anything about storing
> admin/user staus in the HttpSession object.
> Anyway like i said if you read the manual and SFTA you would have found
> the answers.
>
> ajay wrote:
>
> >hi!
> >
> >well i do have a MySQL database. The scenario is this, i dont want to use
> >cookies or do any URL rewriting.
> >i'm looking for something that mirrors J2EE's Session object that contains
> >information about the user, their security level(user/admin etc) and this
> >information can then be verified before each request. There would ofcourse
> be an
> >expiry on the object. Is there a prewritten framework/class to handle this?
> >
> >thanks
> >
> >regards
> >
> >
> >
>
>
> --
> Raditha Dissanayake.
> ------------------------------------------------------------------------
> http://www.radinks.com/sftp/ | ø@
> ÌuÌA·'ê–Ñ��http://www.raditha.com/megaupload
> Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
> Graphical User Inteface. Just 150 KB | with progress bar.
>
>
>
--
ajay
---------------
Who Dares Wins
-------------------------------------------------
This mail sent through IMP: www-mail.usyd.edu.au