Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <3615309.P3s4tL2RFq@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Mon, 10 Dec 2012 00:25:16 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <7171452.m6WORY6t7m@PointedEars.de> <0pudneAzZbF8YlnNnZ2dnUVZ_h-dnZ2d@westnet.com.au> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 43 NNTP-Posting-Date: 10 Dec 2012 00:25:17 CET NNTP-Posting-Host: 42d15118.newsspool3.arcor-online.net X-Trace: DXC=Lb>5c20JMcF=Q^Z^V3H4Fo<]lROoRA8kFK@@UHR=\35H8D9?jPRU=Fk6F X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:17632 Andrew Poulos wrote: > On 10/12/2012 5:51 AM, Thomas 'PointedEars' Lahn wrote: >> Andrew Poulos wrote: >>> If I'm sending some info to a server using ajax and the "success" server >>> action is to redirect to another page, do I need to worry about the >>> (lack of a) response that the original page is expecting? >> >> There is always a response. As much too often with your questions, why >> do you not try it *before* you post? >> >> > > 1. You knew that "There is always a response." I did not. Nothing I've > read about ajax stated that. Simply trying it would have showed you. > Still I do not fully understand what "There is always a response." means. If there is a webserver on the other end, and behaves like you described, and if you use the term “redirect” correctly, it will send a(n) (HTTP) response. > 2 You ask a valid question of me but I need some theoretical background > otherwise I might fluke a solution that collapses when I try it in the > "real" world. First get rid of some misconceptions: ajax, page, original page. Perhaps you also have a misconception about what a “redirect” is. Then read: pp. pp. While you do it, be aware that those are wikis. PointedEars -- Use any version of Microsoft Frontpage to create your site. (This won't prevent people from viewing your source, but no one will want to steal it.) -- from (404-comp.)