Not so much a problem I am having, just thinking about things.
If i have a web application, lets take a call into a servlet. If the servlet calls into a data manager which calls into a database layer. Lets assueme that one of these levels throws an exception. Is there a way of identifying the session id that is present at the top of the stack without bubbling up the expception all the way to the top and into the servlet layer?
Hopefully that makes sense.... :o)