Quoting Stefan Klein <[EMAIL PROTECTED]>:

> Giancarlo,
> 
> the SessionModule that you access by {session:...} only provides general info
> about the session like session-id etc. You need to use the
> SessionAttributeModule to access  attributes. like your username. Use
> {session-attr:username} instead (if you haven't changed the module name to
> something else than "session-attr" in your cocoon.xconf which I suppose you
> haven't)
> 
> Stefan
> 

Thanx, one more thing.
This way a can get session attributes either as parameter passed from sitemap,
or with Session object in an Action. Am i right?
What is the best way?

-- 
Ing. Giancarlo Rosso  
     MCR Srl
 [EMAIL PROTECTED]  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to