I have Getaway in my MVC3 application in Layout :
@if ((Request.Browser.Browser == "IE") && ((Request.Browser.MajorVersion == 7)))
{
//show some content
}
else
{
//show another content
}
I have many users complains (users with internet explorer 8). They see Internet explorer 7 content from my app.
What wrong with my way of detecting Internet explorer 7 version?
How can I be sure for 100% in my application that user have internet explorer 7 version?
May be this is specific OS problem?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…