How does Kohana determine if a request is an AJAX one?
Is there anything different in the referrer string? Do I need to add a GET param, perhaps ?ajax=true
?
It checks if the request is made by XMLHttpRequest since most browser send a header in this case with this indication: header HTTP_X_REQUESTED_WITH
would be set to XMLHttpRequest
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With