Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #17632
| Message-ID | <3615309.P3s4tL2RFq@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-12-10 00:25 +0100 |
| Subject | Re: ajax request with no response |
| Newsgroups | comp.lang.javascript |
| References | <67WdnSfJBNQHTV7NnZ2dnUVZ_uGdnZ2d@westnet.com.au> <7171452.m6WORY6t7m@PointedEars.de> <0pudneAzZbF8YlnNnZ2dnUVZ_h-dnZ2d@westnet.com.au> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
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? >> >> <http://www.catb.org/~esr/faqs/smart-questions.html#idp29963616> > > 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: <https://developer.mozilla.org/en/docs/AJAX> pp. <http://en.wikipedia.org/wiki/HTTP> 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 <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ajax request with no response Andrew Poulos <ap_prog@hotmail.com> - 2012-12-09 10:43 +1100
Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-09 01:17 +0100
Re: ajax request with no response JJ <jaejunks@glegooilma-swapit.com> - 2012-12-10 04:17 +0000
Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-10 11:03 +0100
Re: ajax request with no response JJ <jaejunks@glegooilma-swapit.com> - 2012-12-11 11:06 +0000
Re: ajax request with no response Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-09 19:51 +0100
Re: ajax request with no response Andrew Poulos <ap_prog@hotmail.com> - 2012-12-10 08:17 +1100
Re: ajax request with no response Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-12-10 00:25 +0100
Re: ajax request with no response Stefan Weiss <krewecherl@gmail.com> - 2012-12-10 00:53 +0100
csiph-web