I am working with .Net application where my requirement is to work with session token. How can I generate session token and use that token to allow the user to access the certain resources of my website.

有帮助吗?

解决方案

I imagine you mean the WIF Session Authentication Module (SAM) from .NET 4.5 for session tokens? Here's something to get you started:

http://brockallen.com/2013/01/26/replacing-forms-authentication-with-wifs-session-authentication-module-sam-to-enable-claims-aware-identity/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top