[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] POST or GET


> Hi List,
>
> a question of style (and maybe functionality).
>
> What is the recommended way of linking to other modules / runmodes. Is GET
> good enough or should I be using POSTs?
>
> I was working on a registration module and the form was something like:
>
> <form name=reg>
> <input type="hidden" name="rm" value="perform_reg">
> .
> .
> .
> </form>
>
> and when I went to the next mode, a GET was performed and all the params
> where in the URL (including password which is not very nice)
>
> Any guidelines?
>
> Thanks
>
>

Hi,

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.

Adam


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.