On Friday, December 2, 2011 12:09:25 AM UTC-5, Yarin wrote:
>
> I think the duality of this behavior is confusing and inconsistent:
> a) It would make more sense for all post-login behavior to follow the
> same set of rules.
> b) The default post-login behavior should in all cases be to redirect
> to the referring URL.
>
Yes, that might be a good idea (at least as an option).
 

> Beyond this, I'm seeing the following buggy behavior:
>
> If I hit an auth-decorated function, and am forced to log in, then ALL
> post-login redirections will use that same url from that point
> forward, regardless of how the login page is reached, and regardless
> of whether login_next is set. This behavior can only be reset by
> clearing the application session.
>
Could you please submit an 
issue: http://code.google.com/p/web2py/issues/list
 

> And finally, what's the proper way to set things up so that all post-
> login redirects use the referring URL? Is this possible?
>
See answer on Stack Overflow: http://stackoverflow.com/a/8360082/440323

Anthony

>

Reply via email to