In article <[EMAIL PROTECTED]>, Adam Gent wrote:

> What is the recommended way of linking to other modules / runmodes. Is GET
>> good enough or should I be using POSTs?
> 
> The reason a GET was performed is because you did not specify a method, it
> defaults to GET. It is always safest to do a POST.

But sometimes I intentionally use "GET", because it's creates a
bookmarkable/reloadable URL. 

For example, on one screen I might have a selection list for melons.
On the resulting page, I get this:

view-melon.cgi?melon_id=326

This handy for users who might bookmark this page, as well for
developers, who might want to reload the page several times in a row
after tweaking the  code.

I would say: use POST by default, and GET when you intentionally want
it's usefulness for particular cases.

        Mark

--
http://mark.stosberg.com/ 


---------------------------------------------------------------------
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]

Reply via email to