Copied to clipboard

Flag this post as spam?

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


  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Aug 09, 2010 @ 14:29
    Tim
    0

    Force Umbraco To Keep its UI on timeout?

    Is there a way to force Umbraco to keep it's UI on timeout? In 4.0.4, if the users session times out, they are redirected to the login, and then sent back to the bit of the UI they were clicking in (usually one of the content edit pages). Is there a setting to ensure that it redirects you to the full UI, not just part of it?

    I guess you could get round it by 301 redirecting all login with redirect requests to the /umbraco/umbraco.aspx URL, but I was wondering if there was anything built in to handle it?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 09, 2010 @ 15:15
    Stefan Kip
    0

    As far as I know there isn't... You can use my 301 URL Tracker package to create 301 rules ;-)

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Aug 09, 2010 @ 15:33
    Tim
    1

    Here's the 301 rule I created in UrlRewriting.Config in case anyone wants it.

    <!-- Stop Back Ofice UI Exploding -->
      <add name="rewriteBackOfficeTimeout"
       virtualUrl="^~/umbraco/login.aspx\?redir\=.*$"
       rewriteUrlParameter="IncludeQueryStringForRewrite"
       destinationUrl="~/umbraco/login.aspx" redirect="Application"
       ignoreCase="true" redirectMode="Permanent"/>

    Using it means that you'll awlays be redirected back to /umbraco/umbraco.aspx, which will load the full UI. I can't think of many occasions when the redirect would actually work without breaking the UI anyway, so it should be ok.

    :)

Please Sign in or register to post replies

Write your reply to:

Draft