ASP .NET anonymous users not getting stored in dat

2019-05-26 06:43发布

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条回答
趁早两清
2楼-- · 2019-05-26 07:22

It will be stored if you will try to save some data like for example something in this user's profile.

查看更多
登录 后发表回答