You could include some JS in the layout that has the desired time to expiration in a JS variable and automatically does a client-side redirect to the logout URL after the expiration time.
Anthony On Friday, April 21, 2017 at 5:04:11 AM UTC-4, A3 wrote: > > Using auth and auth.settings.expiration the login expires correctly, when > you refresh manually or click a button or menu it redirects to login. > > My problem is that the page last shown before it expired remains visible. > There is no automatic redirecting just after the expiration time has > passed. > > What can I do to automatically redirect it at expiration time? > > Any help is very welcome. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

