On 23 sep, 19:55, mdipierro <[email protected]> wrote:
> yes. The referring URL is in request.vars.next
>
I have in the model:
auth.settings.on_failed_authorization = URL(r=request, c='identidad',
f='error')
and in the controller (identidad):
def error():
...
return dict()
and I know from this error function that was decorated function.
request.env.http_referer saw that does not help that contains the last
accessed.
and request.vars.next always is None
Jose
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---