Yes if you have a controller like applications/myapp/default/example
that has an error that triggers when you visit http://localhost/myapp/default/example How would you return the admin's error page directly without redirecting? Asuming that you are already logged into the admin panel Some ideas that ive tried are: create an "errors" app and set routes on error to the errors function (This solves redirection) routes_onerror = [(r"*/*", r"/errors/default/errors")] # specify action in charge of error handling # error_handler = dict(application='errors', controller='default', function='errors') But i want the response of that function to be the same as the admin panel, how would you do that? Ive tried this in the pas but doesnt work anymore: def errors(): ticket = request.vars.ticket url = "http://127.0.0.1:8000/admin/default/ticket/" + ticket import mechanize br = mechanize.Browser() br.set_handle_robots(False) br.open(url) br.select_form(nr=0) # administrator password to enter the admin area br['password'] = "1234" res = br.submit() content = res.read() return content Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

