I have a starting page of my project, this page read culture of browser and redirect on the right page.
I have try this project in Internet Explorer, with English and Italian ,and in local works fine.
when i upload my file on webserver , this does not work.
How can it be?
this is code adapted from http://madskristensen.net/post/Get-language-and-country-from-a-browser-in-ASPNET.aspx
protected void Page_Load(object sender, EventArgs e)
CultureInfo culture = ResolveCulture();
if (culture != null)
if (culture.TwoLetterISOLanguageName == "it")
View Complete Post