I have an issue regarding the cookies. I have set all 3 FormsTokenLifetime, WindowsTokenLifetime and ServiceTokenLifetime to 365 days and the cookie is persistent. When any user login to the site he/she is showed to be as logged in user. Now he/she closes their browser and open it after a day or 2 and try to browse the site then it shows that it's not logged in. But we can see that the FedAuth cookie is there till 2015 in the browser.

Please let me know if there is any another setting also for the same OR I am doing something wrong.

Thanks in advance.

  • Hey i think it might have to do with some browser settings check out this link blog.repsaj.nl/index.php/2011/12/…
    – SandeshR
    Dec 7, 2012 at 6:40
  • @spStacker thanks for your reply.. But I have a query. Is it necessary to change all 3 properties to the same days?? I have already done this but just now I figured out that ServiceTokenLifetime is set to 10 hours. but the FormsTokenLifetime and WindowsTokenLifetime is set to 365 days.
    – Ankit
    Dec 7, 2012 at 6:47
  • i am not sure about it :(
    – SandeshR
    Dec 7, 2012 at 6:58


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.