This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

More on HttpSessionBindingListener?

 
Joe Harry
Ranch Hand
Posts: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Any explanation on this type of Listener? like why should we have one such?
 
Arpan Singh
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The project I am working in is a web portal and there are several applications been hosted on it. Some of them are J2EE applications while some are still written in ASP and they are just hosted on our portal (request goes to some other URL when you try to access these ASP applications).

We have used this listener for enabling SSO ( single sign on ) as when user logs in to portal we make his credentials go into a database from where these ASP applications can read the credentials and they allow user to access them without doing a 'login' for second time.

When user logs out the listener takes care of deleting the credentials from the table.
 
Joe Harry
Ranch Hand
Posts: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fine but do you use HttpSessionBindingListener for this or any other Listener in particular?
 
Tony Smith
Ranch Hand
Posts: 229
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all do you know what this listener does? Usually it's used for if you want to know the class/object that you created by yourself has been added, removed from a session. It's in page 183 of HFJS.

Just create any class and implements the HttpSessionBindingListener and overwrite the valueBound and unbound methods.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic