Re: redirect of Ajax call - how to check?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: redirect of Ajax call - how to check?

From: VK <schools_ring@yahoo.com>
Date: Mon Feb 27 2006 - 22:12:19 CET

Grzegorz Smith wrote:
> Hi everyone. Does anyone know is it possible to check if ajax call was
> redirect?

Client-side only - absolutely impossible.

As the ajaxoids implement same-domain security, a successfull redirect
means that there is a content-grabber on the server to commumicate with
other server. For your ajaxoid though it is an absolutely normal
same-domain call. It cannot know about any redirections unless
content-grabber will inform him (by say setting some response header).
Received on Mon May 1 03:40:08 2006