c# - Save user's login method in cookie? -


i have .net mvc3 website multiple authentication options:

  • facebook
  • google
  • websites own

when user browses site asked his/her choice of authentication , once have either registered or logged in through third party authenticated on site.

my questions are:

  • is possible save user's authentication choice in cookie, when revisit site logged in using previous authentication choice (google , facebook automatically if logged in)?
  • if possible whats best practice creating secure cookie in mvc3?

cheers

i think help

this or this

it can implemented in server side too.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -