This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
how can two session objects communicate?is it possible for my session object to communicate with u r session object?if it is how so
posted 11 years ago
Kind of. You can create a singleton object that implements HttpSessionBindingListener. If you add that to every session that gets created, it will be notified every single time, and you can get at the newly created session. From there, you can create a global "directory" of sessions with which you can do what you like.