On 23 sep, 18:06, Yarko Tymciurak <yark...@gmail.com> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to