This solution will lead to a race condition. Do not use it!

If you have multiple threads, they might update your commons at the same 
time and you'll get request from one session, and session from another, and 
db from a third.

"current" is a thread-local thing, guaranteed not to be touched by any 
other part - use "current", not "common" (or whatever your own module is 
called)

Reply via email to