Thanks ! I spend some more time wrestling with this, and expanding my knowledge of this feature of web2py, which I enjoy doing.
*GOOD NEWS*, I finally got it to work, on a simple web2py app. - just by adding 2 lines in the right place. (copy of working code below) Now, I'm not sure if a "bug" exists, I only know that if I add auth.navbar(referrer_actions=None) The behavior I want will not work (ie redirect to user/profile page, after successful login). Anthony, if it looks like a bug to you, I would be happy to submit a bug, and do whatever testing that would be helpful to this excellent community of web2py users. Sure appreciate the help. Rob # - - - - - - - - - - - - - - - - - - # RAM START : it would seem, TWO of these lines are required in # app name: AuthRedirect <- just a NEW application, with no modication # web2py Version 2.2.1 (2012-10-21 16:57:04) stable # # CODE BELOW placed in : # /models/db.py - located BELOW the ## configure auth policy lines # # it is curious, that when I go to login page, # the URL page reads: # http://127.0.0.1:8000/AuthRedirect/default/user/login?_next=/AuthRedirect/default/index # which sure looks like it is the DEFAULT behavior, ie redierected to HOME page # yet, when I press Login button, I'm directed to # http://127.0.0.1:8000/AuthRedirect/default/user/profile # which is EXACTLY what I wanted to happen. # # THIS does not work here > auth.navbar(referrer_actions=None) # it seems I only need these two lines for login_next to work. auth.next = None auth.settings.login_next = URL('user/profile') # RAM END - - - - - - - - - - - - - - --

