Using forms authentication, i have this
FormsAuthentication.RedirectFromLoginPage(myId, false);
I have also set the time out in IIS to 4 hours !!! 14400 seconds.
However .. sometimes after about an hour or even half-hour my users get timed out ... or returned to the login page.
Could it be that the temporary "cookiesless" session variable is "disappearing" .. as IIS has been known in the past to have a bad record with session variables? Has anyone run into this problem?
Is it then better to use the "TRUE" option instead .. so that the cookie is saved physically on the clients machine .. in which case the browser will have to read it each time from the clients machine and attach it to the response.
FormsAuthentication.RedirectFromLoginPage(myId, true);
FormsAuthentication.RedirectFromLoginPage(myId, false);
I have also set the time out in IIS to 4 hours !!! 14400 seconds.
However .. sometimes after about an hour or even half-hour my users get timed out ... or returned to the login page.
Could it be that the temporary "cookiesless" session variable is "disappearing" .. as IIS has been known in the past to have a bad record with session variables? Has anyone run into this problem?
Is it then better to use the "TRUE" option instead .. so that the cookie is saved physically on the clients machine .. in which case the browser will have to read it each time from the clients machine and attach it to the response.
FormsAuthentication.RedirectFromLoginPage(myId, true);