cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: How to save some data in the session?
Date Wed, 21 Feb 2007 01:14:59 GMT
Gajo Csaba wrote:
> Hello,
> 
> I want to do a simple thing. When the user logs in, his ID is retrieved 
> from the database and is saved in the session. No URL rewriting, just 
> simple cookies. I want later to be able to access this ID to do stuff. 
> How can I do this with an ordinary XSP?

Does the XSP 'session' logicsheet meet your needs?
http://cocoon.apache.org/2.1/userdocs/logicsheets/session.html

If you're not tied to XSP there are plenty of other ways to read/write 
session data: flowscript, sitemap actions, session transformer, etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message