I have a page that when logging in from a previous logout, the login page redirects back to the same page.
I want to have a default redirect to the index page instead. Using auth.settings.login_next = URL('default','index') does not help. 1. Is there a better way out in js or some form of settings. 2. Is there a way of restricting this feature to specific pages only? such as if a user is in natgeo.html, gets logged out after expiration time, should be redirected to index.html and not back to natgeo.html. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/b4e94118-a0bc-4dd1-8b12-acf410c8a26fo%40googlegroups.com.