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