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

redirect of Ajax call - how to check?

From: Grzegorz Smith <gregtech@wp.pl>
Date: Mon Feb 27 2006 - 22:05:08 CET

Hi everyone. Does anyone know is it possible to check if ajax call was
redirect? i mean I connect by Ajax to one URL but I'm redirected to other
url. Is there a way to check that my request was redirected? this situation
happen when some urls are only accesible when you are logged (i mean you
have session) and if you losed session you are usually redirect to other
page. But I don't know is it possible to check that my call was redirect.
For now wheatever my AJAX call was redirect or not i get status 200 (it's
OK). But for me it's not enough.
Gregor
Received on Mon May 1 03:40:07 2006