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?
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.
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?
As far as I know there isn't... You can use my 301 URL Tracker package to create 301 rules ;-)
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.
:)
is working on a reply...