ASP.NET profile properties that return results from other users

I am using ASP.NET profile properties in the .NET framework 2.0 application.

Hosting : on Amanzon server Operating system: Windows Server 2012 Server Sql: 2012 IIS: 8.5

Profile Properties Anonymous Users

What happens to end users (unable to replicate themselves), that end users see another user's profile properties.

Example Say that I have a country in the USA that is installed on my profile. Next time, when I am on a web page, it can show another country that can be set by another user.

IIS currently has user mode caching and Kerner mode caching.

Extras: I recently changed the placement method, moved to another server, so that everything that needs to be done with the properties of anonymous users or I need to clear all users of the current profile the data that I scare

the code:

<profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
  <properties>
    <add name="ActionRemember" allowAnonymous="true" />
    <add name="ActionName" allowAnonymous="true" />
     /// huge list of properties .......
  </properties>
  <providers>
    <remove name="AspNetSqlProfileProvider" />
    <add name="AspNetSqlProfileProvider" connectionStringName="LocalSql2005Server" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  </providers>
</profile>

Open to give you more details.

Update: I turned off kernel caching for the aspx page, and the error still persists

+4
source share
1 answer

Static variables store their values ​​in user sessions.

concurrency , , , .

, 2 , 1 100, 2 200. 1 Get Value.

? 200.

-1

All Articles