locked
Claims based authentication and persistent cookies RRS feed

  • Question

  • We recently upgraded our MOSS Forms based web application to SharePoint 2010. In MOSS, we had a custom login page and in here we would create a persistent cookie  named .ASPXAuth (valid for 365 days) if the user selected remember me while logging in. If remember me was not selected, then we would a normal session based cookie which would have a timeout period as specified in the web.config.

    With Claims based applications, this technique has considerably changed. Because of the STS service which is now responsible for creating the tokens (and automatically creates a cookie called FedAuth with a specified lifetime as per the STS settings, how do I replicate the MOSS 2007 custom login page functionaliy ?

    Any code examples will be helpful....My login page functionaliy is simillar to the one discussed in the below link:

    http://blogs.msdn.com/b/chunliu/archive/2010/08/21/creating-a-custom-login-page-for-fba-in-sharepoint-2010.aspx

     

    Tuesday, October 12, 2010 2:57 AM

Answers

All replies