ASP.Net Store User Data in Auth Cookie

后端 未结 6 573
情歌与酒
情歌与酒 2020-12-13 19:31

I want to store some data like the user nickname and user ID (table primary key) in the user data section of the auth cookie. The reason I\'m doing this is to retain this da

6条回答
  •  情歌与酒
    2020-12-13 20:01

    Apparently I was on the right track: http://www.asp.net/learn/security/tutorial-03-vb.aspx (Step 4: Step 4: Storing Additional User Data in the Ticket)

提交回复
热议问题