Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify application variable on session ending

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hi !

What I am trying to do in JSP is not obvious to explain, so I'll try to be as clear as possible.
I have a JSP application, which has a session listener, so that some directories are created on the binding of the session, and deleted on un-binding of the session.
That works perfectly well (with valueBound and so on).

What I would like to do now is :
when the session ends, get an application variable I set somewhere else and which is a Vector, delete an element of this Vector, and then place it back on application variable so that it's available for any user session.

I think that, if it's possible, it must deal with ServletContext, but I don't manage to compile my java class which defines the session listener.

Thanks for any help !!!

Gaelle.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top