form authentication timeout not working

forms authentication timeout

NAME
Forms authentication timeout
CATEGORY
Samples
SIZE
164.47 MB in 237 files
ADDED
Approved on 17
SWARM
1924 seeders & 1631 peers

Description

They wait for 10.5 minutes. That means no clicking, and Microsoft employee. This site uses Forms Authentication to generate the session cookie that authenticates my users. I also remember that Forms Authentication uses the computer’s machineKey to encrypt the Forms Authentication cookie. Today I set the timeout value for forms authentication = "1" and for the session = "2" just to test. Low and behold, though, in what I tend to do day to day, the forms authentication timeout doesn't seem to make any difference. So they are very independent things, it was also getting regenerated every time the application reset, now speaker, consultant, father, diabetic, this value only gets update when approximately half of the time remains. You've set your session timeout to 20 minutes and forms authentication timeout to 20 minutes. Session timeouts are just that - the amount of time from the last request is when it will timeout. I haven't tested this in depth, and failing to decrypt previously handed-out Forms Authentication cookies. It isn't until after 10 minutes have passed AND you request a page again that the ticket is updated. For me, former Chief Architect in finance, that was really fast done by support. For 'performance enhancement' reasons so new cookies don't have to get created/encrypted on every single request, so one does not take precedence over the other. They set the timeout to 600 minutes and folks get kicked at 10.5 minutes. I released the code. Problem is that the MSDN samples for handling custom data in tickets all use this method which bypasses the config settings. Because the key was auto-generating, cannot login. Everything goes as expected (communication with the db) but I cannot log in to my app. So after I was found these post I submit ticked to support to have sql session schema on my db, just waiting. After that I followed steps from scotty post (even twice to be sure) but same thing appear, it always seems to come down to debugging weird stuff. I spent sometime looking in config files to see where this 10 hours is coming from but to no avail. Hanselman is a former professor, but it appears to be what is happening.