• Post Reply Bookmark Topic Watch Topic
  • New Topic

Change application var on session ending  RSS feed

Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!