[FX.php List] GET vs. POST in a web app

Gjermund Gusland Thorsen ggt667 at gmail.com
Fri May 4 10:15:41 MDT 2007


I only use _GET for pagina and recid when it's convenient.

ggt667

On 5/4/07, Tom Sepper <tsepper at directorschoice.travel> wrote:
> I rarely, rarely use GET. I suggest using sessions and POST to manage
> control.
>
>
> ---
> Tom Sepper
> Director of Information Technology
> Director's Choice Tour & Travel
>
> P 806.762.6354
> F 806.763.7637
>
> tsepper at directorschoice.travel
> www.directorschoicetourandtravel.com
>
>
>
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org
> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Friday, May 04, 2007 11:11 AM
> To: FX.php Discussion List
> Subject: [FX.php List] GET vs. POST in a web app
>
> I'm finishing up a large project for a client whose users will be a
> group of hospitals and physicians. The whole project is finished--or
> should I say, it WAS finished--until the end client (a hospital
> person) noticed that using the BACK button caused the POST warning to
> come up, since so many pages were displaying the results of various
> POSTs.
>
> So my client asked me if I could go through the site and replace all
> the POSTs with GETs. I cautioned him, pointing out the fact that
> everything would be in the clear, including passwords, but he asked
> me to go forward with the change anyway.
>
> So I did so... and immediately saw that logins didn't work because
> the @ sign in emails would break the URL in a GET. I then saw that
> editing a user's profile, which contained email addresses, as well as
> possible URLs, would also not work using GETs.
>
> So to have an answer ready for them, here's my question: is there a
> way, using a GET command, to make it work with @ signs and various
> other special symbols that URLs use? I don't want to go down this
> road, but I'm anticipating their insistence on trying to make this work.
>
> Before you tell me, I know and agree that using GETs like this is an
> awful idea, but the client (the end-user) is concerned about how the
> BACK button causes problems. How do you guys get around this, or do you?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
>    CONTACT US VIA INSTANT MESSAGING:
>       AIM or iChat: longterm1954
>       Yahoo: longterm_solutions
>       MSN: tech at longtermsolutions.com
>       ICQ: 159333060
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list