Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Ajax question
- From: tedd at sperling.com (tedd)
- Subject: [Javascript] Ajax question
- Date: Sun Dec 31 14:11:08 2006
At 3:34 PM -0800 12/30/06, Paul Novitski wrote: >At 12/30/2006 03:13 PM, tedd wrote: >>It works like this -- I can either send the variable "rock" OR >>launch the next page, but not both! > >I wonder if what's happening is that the page redirect cancels out >all pending requests. This would make sense -- when you click on a >link on a page that's still downloading, you want it to redirect >immediately and not wait for the first page to resolve. I would >think that from the server's point of view, once the client asks to >redirect, all previously pending requests from that client should be >cancelled so it doesn't waste resources trying to deliver content to >a client that's no longer interested. > >If this model applies to your situation then you might be able to >work around it by imposing a delay between the two requests. But >how long a delay? Would it depend on connection speed and bandwidth >traffic? Yes, that's the idea -- but a delay won't work here. >I agree with Mike -- don't make pages that break in the absence of javascript. I agree with Mike too -- it doesn't. >If you're avoiding GET because you don't want values visible in the >querystring, have you considered using POST? That way you can go to >your next page and submit hidden values to a server-side script (for >setting the session variables) in one operation. Yes, I've considered using POST. I had a back channel post that provide me with the insight I needed. I'll post what I came up with and why, shortly. Thanks. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com
- References:
- [Javascript] Ajax question
- From: tedd
- [Javascript] Ajax question
- From: Paul Novitski
- [Javascript] Ajax question
- From: tedd
- [Javascript] Ajax question
- From: Paul Novitski
- [Javascript] Ajax question
- Prev by Date: [Javascript] Ajax question
- Next by Date: [Javascript] Ajax question
- Previous by thread: [Javascript] Ajax question
- Next by thread: [Javascript] Ajax question
- Index(es):