struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From G√ľnther Wieser <gwie...@creative-it.com>
Subject RE: user management
Date Fri, 11 Mar 2005 09:02:23 GMT
i for one put the user object into the session, as i have a lot of method
calls against this use object on each page. if you don't use the user object
often, put some identifier in the session to mark that the user has logged
in, eg. key="user", value=<username>. if you need to access the user data
later on, you can user the value of this session object to retrieve the real
user object from a service or whatever.

but there is nothing like "built in support" in struts as far as i know.

kr,
guenther


-----Original Message-----
From: wo_shi_ni_ba_ba [mailto:wo_shi_ni_ba_ba@yahoo.com] 
Sent: Friday, March 11, 2005 12:55 AM
To: user@struts.apache.org
Subject: user management

do struts developers usually store user as an object in session? or does
struts have additional framework for handling user management.
thanks in advance


		
__________________________________
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message