I am using MVC3 along with Autofac & EF4.1 to build an secure web app deployed on two servers.

A very few users are experiencing a strange issue where user is logged into system as wrong user with different account/branch settings.

I am authentication user using form authentication(.ASPXAUTH cookie) and roles are decided from active directory contents. user being logged in is assigned an unique token which flows during all transaction.

Could this be related to Autofac or authentication cookie is cached somewhere?

有帮助吗?

解决方案 2

it was actually a static image file having set-cookie inside which was causing the trouble.

其他提示

Are you users using shared computers?

If so, then I suspect that the cookie is to blame.

If not, then context information somewhere else in the application is to blame.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top