• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

More on HttpSessionBindingListener?

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

Any explanation on this type of Listener? like why should we have one such?
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fine but do you use HttpSessionBindingListener for this or any other Listener in particular?
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic