问题
I'm trying to setup anonymous users in MVC. For some reason it wont store the users in the database. I have added the following in the web.config
<anonymousIdentification enabled="true" />
It successfully creates the .ASPXANONYMOUS cookie when i visit the site but doesn't create the user in the database. Is this something i have to do manually?
回答1:
It will be stored if you will try to save some data like for example something in this user's profile.
来源:https://stackoverflow.com/questions/710701/asp-net-anonymous-users-not-getting-stored-in-database