Monday 8 September 2014

HttpSessionIdListener

Receives notification, whenever there is a change in session id.

Method Description
sessionIdChanged(HttpSessionEvent event, String oldSessionId) Notified when the session id changed.

There are 3 ways to add HttpSessionIdListener to the Application.
   1. Using Deployment Descriptor
   2.Using WebListener Annotation
   3. Using addListener method of ServletContext.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment