hi folks, I have a question now. I will send some requests via ajax, and in the server side, it'll check the user login status, so if the user is not login, the server side will redirect to login page. But in ajax request, the content of redirect page will be returned, and the browser will not really open the redirect page, this is not what I want, I want the real redirect action in browser. But I found that the redirect process is automatically done by browser, so I want to know if there is a way to catch the 301 or 302 response code, and do the redirect myself, just like "window.location = 'xxxxx'".
-- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: http://hi.baidu.com/limodou
