Skip to content

Instantly share code, notes, and snippets.

@aruizca
Created March 12, 2013 02:26
Show Gist options
  • Save aruizca/5139808 to your computer and use it in GitHub Desktop.
Save aruizca/5139808 to your computer and use it in GitHub Desktop.
Detect AjaxAnywhere request at server side
...
if (AAUtils.isAjaxAnywhereRequest(request) {
// Perform request forward
} else {
// Perform response redirect
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment