Problem with HttpSessionListener
- From: "Caldarale, Charles R" <Chuck.Caldarale (at) unisys.com>
- Date: Thu, 12 Oct 2006 14:12:50 -0500
> From: Martin Gainty [mailto:mgainty (at) hotmail.com]
> Subject: Re: Problem with HttpSessionListener
>
> Session information is scoped only to the current web
> application (ServletContext), so information stored in one
> context will not be directly visible in another.
No one was asking for cross-application scoping.
> the proper way to access your webapps info is
> getServletContext() to get the context first..once you have
> YOUR webapps context
> use setAttribute() to set the property
> use getAttribute to retrieve the value of the property
More irrelevancy. The OP is trying to update session attributes, not
context attributes.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org