java - Session ID from Thread / Stacktrace -


There is no such problem, just thinking about things.

If I have the web application takes a call in a servlet, if servlet calls in a data manager who calls in a database layer, assures that one of these levels throws an exception is. Is there a way to identify session IDs that is present at the top of the stacks, without any exceptions bubbling in the top and sublet layers?

Hope this makes sense ....: o)

You can always create a filter which prevents each request and allows the existing session ID to be a public static thread locale & lt; String & gt; Puts in SessionId; Nowhere else will it be accessible anywhere with the same thread.

This is another story that sessionId would be useful. Perhaps you can use your user id, user IP or other similar information.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -