Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » HttpSession Listener
HttpSession Listener [message #997623] Fri, 04 January 2013 18:24 Go to next message
Siarhei Navatski is currently offline Siarhei NavatskiFriend
Messages: 14
Registered: July 2009
Junior Member
Hi All
How to add HttpSessionListener in RAP application? I want subscribe to
the session expiration. SessionStore has similar functionality but
session store expires after refresh page (F5). I want to add
HttpSessionListener exactly

Re: HttpSession Listener [message #997629 is a reply to message #997623] Mon, 07 January 2013 11:07 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

According to the JavaDoc, you can add an HttpSessionListener using
ServletContext.addListener( ... ). This requires servlet 3.0 API.

You get a reference to the ServletContext using


In RAP 2.0, it's



Ralf Sternberg

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:RAP Table adds height of horiz scroll bar
Next Topic:e4 and RAP
Goto Forum:

Current Time: Sun May 27 10:13:45 GMT 2018

Powered by FUDForum. Page generated in 0.01498 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top