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: