cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject RE: Session problems!!!
Date Fri, 21 Feb 2003 08:52:40 GMT
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:luca.morandini1@tin.it] 
Sent: Friday, February 21, 2003 9:38 AM
To: cocoon-users@xml.apache.org
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
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Maxime.Gheysen@swisscom.com [mailto:Maxime.Gheysen@swisscom.com]
> Sent: Friday, February 21, 2003 9:27 AM
> To: cocoon-users@xml.apache.org
> 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: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


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


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


Mime
View raw message