I don't want to use the websecurity helper, I just want to manage Forms Authentication the way I used to with Web Forms.
In Web Forms I would assign the FA ticket on successful login, and under Global.asax > Application_AuthenticateRequest I would decrypt the ticket and fill the the user indentity.
Can we still do this ourselves in Razor?
I think I can assign the cookie but not sure where to create decrypt the ticket into the user identity object.
thomp361
Member
301 Points
77 Posts
Don't want to use WebSecurity
May 17, 2012 02:04 AM|LINK
I don't want to use the websecurity helper, I just want to manage Forms Authentication the way I used to with Web Forms.
In Web Forms I would assign the FA ticket on successful login, and under Global.asax > Application_AuthenticateRequest I would decrypt the ticket and fill the the user indentity.
Can we still do this ourselves in Razor?
I think I can assign the cookie but not sure where to create decrypt the ticket into the user identity object.