Last post Nov 08, 2011 03:01 AM by wangping827123
Nov 04, 2011 05:14 AM|JoeyWang|LINK
You know, Thread.CurrentThread is static variable, it means all thread can get the same value of this static variable.
And session also can be regard as a thread. If there are two users UseA(sessionA) and UserB(sessionB).
I think the two user can get same value of Thread.CurrentThread.
but, another way, we can set the localization by Thread.CurrentThread.CurrentCulture. at this time, UserA set it as en-US, and UserB set it as zh-CN. Can they be interaction each other?
Nov 08, 2011 03:01 AM|wangping827123|LINK
There is no relationship between Thread.CurrentThread and sessionwe know, session is created for each user in server side, and they have their own Thread.CurrentThread, maybe the inital Thread.CurrentThread is same.
however, they can change their own Thread.CurrentThread no matter session