When I write <xsp-session:get-attribute-names as="xml"/> I don't get
anything. Does that mean my session is not created? But I specified 
<xsp:page language="java" 
        xmlns:xsp="http://apache.org/xsp";
        xmlns:xsp-session="http://apache.org/xsp/session/2.0";
        create-session="true"
>

And then <xsp-session:set-attribute>user</xsp-session:set-attribute>;
Where user="Guest"

-----Original Message-----
From: Luca Morandini [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 21, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Session problems!!!


Maxime,

have you already checked the list of attributes by using:
<xsp-session:get-attribute-names as="xml"/> ?

This in order to know whether it has been created (and then it is a
problem with its value), or it has not (and then it is a sesison
problem).

Regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 9:27 AM
> To: [EMAIL PROTECTED]
> Subject: Session problems!!!
>
>
> How does sessions work???
> I created a login form like in the "Cocoon developer's handbook" 
> chapter8, then the login xsp page as in the book. That works, I get on

> my page something like this User 'Guest' has been authentificated  but

> when I write
>
> <xsp-session:get-attribute name="user"/>
>
>
> I don't get anything!!!
>
> Please help!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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


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

Reply via email to