Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anders Brohäll 295 posts 561 karma points c-trib
    Feb 11, 2011 @ 11:06
    Anders Brohäll
    3

    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

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 11, 2011 @ 11:33
    Stefan Kip
    1

    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.

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Feb 11, 2011 @ 11:54
    Matt Brailsford
    3

    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

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 11, 2011 @ 12:37
    Stefan Kip
    1

    Or they could include this option in the core ;-)

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Feb 11, 2011 @ 12:42
    Matt Brailsford
    1

    =)

    You are best off reporting an issue on codeplex then, and request to make it optional.

    Matt

  • Kyle Skrinak 272 posts 327 karma points
    Feb 14, 2011 @ 18:48
    Kyle Skrinak
    0

    This had not been entered at codeplex, so I created the ticket. Thanks for identifying this and offering an interim resolution.

  • Laurence Gillian 600 posts 1219 karma points
    Feb 14, 2011 @ 19:41
    Laurence Gillian
    0

    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

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Feb 15, 2011 @ 03:08
    Aaron Powell
    0

    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

  • Rune Grønkjær 1372 posts 3103 karma points
    Feb 18, 2011 @ 12:20
    Rune Grønkjær
    0

    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

  • Kyle Skrinak 272 posts 327 karma points
    Feb 18, 2011 @ 12:26
    Kyle Skrinak
    0

    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

  • Rune Grønkjær 1372 posts 3103 karma points
    Feb 18, 2011 @ 12:33
    Rune Grønkjær
    0

    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

  • Kyle Skrinak 272 posts 327 karma points
    Feb 18, 2011 @ 12:43
    Kyle Skrinak
    0

    Rune: well, it's got a good beat, and you can dance to it :)

  • Rune Grønkjær 1372 posts 3103 karma points
    Feb 18, 2011 @ 12:54
    Rune Grønkjær
    0

    There... I made a codeplex ticket. http://bit.ly/hPYStC

    Please vote for it everyone.

    I will tweet this as well.

    /Rune

  • Lee Kelleher 4024 posts 15833 karma points MVP 13x admin c-trib
    May 26, 2011 @ 23:28
    Lee Kelleher
    1

    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

  • Rune Grønkjær 1372 posts 3103 karma points
    May 27, 2011 @ 08:01
    Rune Grønkjær
    0

    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

     

  • Peter 6 posts 26 karma points
    Dec 06, 2011 @ 06:49
    Peter
    0

    Can you change the time-out?

  • Rune Grønkjær 1372 posts 3103 karma points
    Dec 06, 2011 @ 08:04
    Rune Grønkjær
    1

    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

  • Peter 6 posts 26 karma points
    Dec 06, 2011 @ 08:15
    Peter
    0

    Thanks - that setting name didn't seem right.

Please Sign in or register to post replies

Write your reply to:

Draft