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.
ServiceTokenLifetime
is set to 10 hours. but theFormsTokenLifetime
andWindowsTokenLifetime
is set to 365 days.