Culture settings of an application.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ashish (asharma_at_mailmenot.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 10:16:47 -0600

I have a application in which culture settings are customizable, they
dont depend on the machine settings on which the application is running,
  I need to make sure that all the threads running in the application
have the correct culture settings ..
I have some questions to better understand this concept ..

1. Is every thread in asp.net application associated with a session ?

2. I have a webpage which is parent of all the pages in the application,
on page_load event of this web page i make sure that the session's lcid
is set correctly...
the issue started happening when we started using out of process state
management, now i see that one of the class's constructor ( the
serialization constructor ) is being invoked from no where, and on this
thread the culture info is of the machine...

3. what would be a good place ( event) to insure that culture info of
all the threads is set correctly

any in site, thoughts would be appreciated..
TIA
-ashish