Mark Stosberg wrote: > This morning I noticed that robots had been following "add to cart" > links that I created. Oops. > > I know. Someone out there is thinking my application should have been > more RESTful and used POST instead of GET for the add to cart links. > > Ok. I buy in now. But POSTing seems like a pain. Is there an easier way?
It's a pain, but that's why it's there. I know you know this, but you really shouldn't put things in links that have side effects. Any link can be potentially bookmarked or, as you've seen, spidered. I'm not sure there's a good way around this, and that separate script for get/post idea just gave me the shivers.... -- Michael Peters Developer Plus Three, LP --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
