You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by jill han <jh...@bynum.com> on 2007/06/08 22:42:38 UTC

how to check what objects are stored in the session

Is there anyway to check out what user info is stored in session object?

Thanks for your help.

Jill

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


Re: how to check what objects are stored in the session

Posted by Thomas Vandahl <tv...@apache.org>.
jill han wrote:
> Is there anyway to check out what user info is stored in session object?

If we talk about classes implementing
org.apache.turbine.om.security.User, you can get the storage for
permanent data from getPermStorage() and the storage for temporary data
from getTempStorage(). Both return a Hashtable which you can inspect
using the usual methods.

Bye, Thomas.


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