On 23 sep, 18:06, Yarko Tymciurak <[email protected]> wrote:
> as you can see inhttp://www.web2py.com/examples/simple_examples/hello6,
>
> it is request.env.http_referer (or request.env["http_referer"]
>
> You should also be able to see this with a debugger, by inspecting current
> context variables (e.g. wingIDE, ipython, windbg, eclipse, etc.)
>
Thank Yarko.
What I really need is to know the controller and the function that is
decorated with @auth.requires_xxx when a refusal.
If I str(request) I see that what I seek is contained in
http_referer.
Is there a better way?
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
-~----------~----~----~----~------~----~------~--~---