ASP .NET anonymous users not getting stored in database

这一生的挚爱 提交于 2019-12-10 10:38:36

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!