Hi an expired session becomes empty but this does not seem to always trigger auth.requires_login redirection to the login URL neither when set via auth.requires_login(loginURL), aka the otherwise parameter, nor by auth.settings.on_failed_authorization = loginURL . Actually the otherwise parameter is superfluous in this case.
Status 401 UNAUTHORIZED is returned but the page remains unchanged. I believe this happens when the same function is called with args. If I call the same function with no args or another function that has requires_login, the login page is shown correctly. Maybe I am not using it correctly. Thanks, Denes -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.