Make cookie timeout duration configurable
Currently Cookies expire after 2 days, this means you have to re-enter your password for SQL Monitor every two days. This should be configurable. Some of us have adequate desktop security, and secure external access that this is unnecessary.
-
This issue came up again recently, so I've re-opened it. We may look into changing the default and making the duration configurable.
-
Matt Lee commented
Hi Dan,
Thanks for the feedback. The cookie timeout is configurable in the web.config file. If you installed SQL Monitor to the default location you should find the web.config in C:\Program Files\Red Gate\SQL Monitor 2\WebSite or C:\Program Files\Red Gate\SQL Monitor 2\web\WebSite. The section to change in that file looks like:
< authentication mode="Forms" >
< forms loginUrl="~/Account/LogIn" timeout="2880" / >
< / authentication >You can change the value of the timeout attribute. The value is stored as minutes.
I hope this helps,
Matt