The continous call to GetSecondsBeforeUserLogout is a bit to verbouse for my taste. Even more since i don't really want that type of functionaity for my clints.
Is it possible to disable the lock completely? More than setting the umbracoTimeOutInMinutes in web.config to a higher number?
Would be nice to have the ability to disable this indeed. While developing I have Firebug opened constantly and it's tracking/logging all the requests to GetSecondsBeforeUserLogout. I really notice firefox is performing slower and slower after a while because of this.
From what I can tell, there is no setting to disable it. Best I could suggest would be to modify umbraco/umbraco.aspx and comment out the line:
window.setInterval(keepAlive, 10000);
This should stop it doing the check, or you could modify the keepalive method to request a page to automatically renew the session?
You may even be able to hook into the umbracoPage load event to inject some JS to modify it without having to change the actual source (making it harder to upgrade) but I haven't tested that.
This "feature" is a real pain to work with. It logs me out constantly and as I cannot remember all the passwords for our umbraco sites my only option is to reload the page, which takes me to the content tab.
Also, there's a couple of related issues noted at codeplex: Open source projects thrive when users submit their bug reports or, here, you can vote on existing issues.
If you need something done, you have to do it yourself ;)
May I add that you can also set the appSetting "umbracoTimeOutInMinutes" to 20000 and it will not log you out for a couple of days. That should give you the time to eat your lunch and come back without your work is gone.
Disable the Backend Timeout/Lock.
Hi,
The continous call to GetSecondsBeforeUserLogout is a bit to verbouse for my taste. Even more since i don't really want that type of functionaity for my clints.
Is it possible to disable the lock completely? More than setting the umbracoTimeOutInMinutes in web.config to a higher number?
Anders
Would be nice to have the ability to disable this indeed.
While developing I have Firebug opened constantly and it's tracking/logging all the requests to GetSecondsBeforeUserLogout. I really notice firefox is performing slower and slower after a while because of this.
From what I can tell, there is no setting to disable it. Best I could suggest would be to modify umbraco/umbraco.aspx and comment out the line:
window.setInterval(keepAlive, 10000);
This should stop it doing the check, or you could modify the keepalive method to request a page to automatically renew the session?
You may even be able to hook into the umbracoPage load event to inject some JS to modify it without having to change the actual source (making it harder to upgrade) but I haven't tested that.
Matt
Or they could include this option in the core ;-)
=)
You are best off reporting an issue on codeplex then, and request to make it optional.
Matt
This had not been entered at codeplex, so I created the ticket. Thanks for identifying this and offering an interim resolution.
This is vaguely related to this work item, but when you create your work item list it here so others can vote it up.
http://umbraco.codeplex.com/workitem/29940
Thanks, Laurie
I wonder what happens if it's set to -1... *
* I actually have no idea what would happen, it probably will fail immediately though :P
This really should be worked out in the core.
This "feature" is a real pain to work with. It logs me out constantly and as I cannot remember all the passwords for our umbraco sites my only option is to reload the page, which takes me to the content tab.
I want the old keep alive system back :(
/Rune
Rune,
Also, there's a couple of related issues noted at codeplex: Open source projects thrive when users submit their bug reports or, here, you can vote on existing issues.
Kyle
Hehe, how would a ticket for this sound. I really dislike the way the keep alive feature logs me out all the time!?
Or. Please remove the new keep alive feature and give us back the old one!?
If it gets enough votes they would have to think about it.
/Rune
Rune: well, it's got a good beat, and you can dance to it :)
There... I made a codeplex ticket. http://bit.ly/hPYStC
Please vote for it everyone.
I will tweet this as well.
/Rune
Quick follow up on this, I released a package that disables the timeout check in the back-office ... but this is only for v4.7.0.
http://our.umbraco.org/projects/backoffice-extensions/disable-backoffice-timeout
Nice Lee,
If you need something done, you have to do it yourself ;)
May I add that you can also set the appSetting "umbracoTimeOutInMinutes" to 20000 and it will not log you out for a couple of days. That should give you the time to eat your lunch and come back without your work is gone.
/Rune
Can you change the time-out?
Hi Peter,
Yes, you change it in the web.config, as noted above. Here's a snippet from mine:
<appSettings>
<add key="umbracoTimeOutInMinutes" value="200000" />
</appSettings>
/Rune
Thanks - that setting name didn't seem right.
is working on a reply...