IIS 6.0 local LCID problem
am 28.08.2007 12:47:19 von Just4UHello,
I take an old post because, nobody seem to answer my problem.
Config: Windows 2003 x64 (US) + sp2
Regional settings : French (for all & default users)
Basically I have the following code on my server
<%
Session.LCID=1033
SetLocale(1033)
Response.Write "America
"
Response.Write FormatDateTime(now,vbshortDate)&"
"
Response.Write FormatNumber(1000.523)&"
"
Session.LCID=2057
SetLocale(2057)
Response.wRIte "UK
"
Response.Write FormatDateTime(now,vbshortDate)&"
"
Response.Write FormatNumber(1000.523)&"
"
Session.LCID=1036
SetLocale(1036)
Response.wRIte "French
"
Response.Write FormatDateTime(now,vbshortDate)&"
"
Response.Write FormatNumber(1000.523)&"
"
Session.LCID=1031
SetLocale(1031)
Response.wRIte "German
"
Response.Write FormatDateTime(now,vbshortDate)&"
"
Response.Write FormatNumber(1000.523)&"
"
%>
very simple, all it does is set the session.LCID to four different
locales (US,UK,French, German) when no one if physically logged on to
the webserver in question, it writes out the data/number
format for US in UK format (the machine locale) however it does French
and German in the correct format. If someone is logged on to the machine
it starts to show the US format in the correct format.
So does anyone know why this is happening and if so any solution to the
problem?
Thank you