jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Http Session testing?
Date Mon, 14 Jul 2003 07:35:47 GMT
Hi Scott,

> -----Original Message-----
> From: Parmley, Scott C. [mailto:sparmley@p2es.com]
> Sent: 30 June 2003 22:54
> To: cactus-user@jakarta.apache.org
> Subject: Http Session testing?
> 
> Does anyone know if there is a way to test a session variable in
cactus?
> For instance, I have a login XSP page that sets a session variable if
the
> login was successful.
> 
> I've tried session.getAttribute("myObject"); but it looks to be null
each
> time I try to get it.  Is there a wrapper object I should be using to
> access session?

The "session" object is fine. If the result is null it really means the
object is not set in the session. 

-Vincent


Mime
View raw message