If I copy the code you have I get nothing! Just 
Guest 
But that's because of <xsp:expr>user</xsp:expr>, and when I write
<xsp-session:get-attribute name="user" as="xml"/> I don't get anything!

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


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 10:05 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Session problems!!!
> 
> 
> Both are correct. The problem is somewhere with the creation of the 
> session.
> 

Let's put it this way: this works just fine on my 2.0.3:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?> <xsp:page
        xmlns:xsp="http://apache.org/xsp";
        xmlns:xsp-session="http://apache.org/xsp/session/2.0";
        create-session="true">

        <page>
                <xsp-session:set-attribute name="status"/>
                <xsp:logic>
                        String user="guest";
                </xsp:logic>
                <xsp-session:set-attribute
name="user"><xsp:expr>user</xsp:expr></xsp-session:set-attribute>
                <xsp-session:get-attribute-names as="xml"/>
                <xsp-session:get-attribute name="user" as="xml"/>
        </page>

</xsp:page>

Regards,


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



---------------------------------------------------------------------
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