[Home] [By Thread] [By Date] [Recent Entries]


At 2:49 PM -0500 1/6/04, Strolia-Davis Christopher Contr MSG/MAT wrote:


>Although I haven't actually researched how Amazon does this,
>it is possible to do this sort of thing using remote
>javascripting(A fancy title for posting to a hidden iframe).

No, that's not how they do it. I just turned off JavaScript and 
cookies, went to amazon, and successfully added an item to my cart. I 
think they do it through extensive URL rewriting. Remember a GET 
request can run a program on a server just as easily as a POST 
request. A POST cannot do anything a GET can't do. The difference is 
that a POST operation should not be cached or repeated because it may 
obligate the client, while a GET is supposed to be SAFE.
-- 

   Elliotte Rusty Harold
   elharo@m...
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member