Thanks for the suggestion! I added a header check for the 
web2py-component-element header.
I had to manually add the value to response.headers (from request.cid) 
because I'm using a call to web2py_component I guess. But it works 
perfectly!! 

On Thursday, August 3, 2017 at 6:28:07 PM UTC-7, Anthony wrote:
>
> Be careful that your page isn't making any other Ajax requests, as your 
> code is not limited to the component requests only.
>
> Anthony
>

-- 
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.

Reply via email to