Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Flash4 and forms
From: Jason Nugent
Date: Thu, 29 Jul 1999 15:27:23 +0100

Nigel,

Good points, all of them. Two others, that may or may not be important -

GET limits the amount of info you can send back to the server, since all
info is appended as part of the Query String of the URL. The length is
dependant on a buffer size, but I believe (correct me if Im wrong) that its
1024 bytes, or a little more than a thousand characters. Most urls don't
come close to this, but if you are submitting large amounts of data its
better to use POST since that way you don't have to worry about the cut-off.

Outside of Flash (which lets you specify either GET or POST), you can create
urls that pass information to CGI scripts only if you use GET. This lets
you bookmark things like "canned" searches from CGI scripts and so on.
Its not possible to call a CGI script that uses POST normally in a url since
there isn't any real way to pass the information to the script after the
headers are sent (which is how POST works).

Jason

Nigel Randsley-Pena wrote:

> Brian,
>
> These examples are based on GET. I have noticed that most posters don't
> know when to use GET or POST so as an added bonus some tips.
> In pratical terms GET and POST are nearly identical. So when do we use
> one or the other.
> Well first an important distinction results returned from GET may be
> cached while results returned from POST are not cached.
> Simple rule to decide when to use GET and when to use POST.
> When you send information back to the server this information may or may
> not change the server's state. If the information you are sending back
> will NOT change the servers state use GET if i will change the server's
> state use POST.
> So if the information you send back will go into a database for example
> or will be written to a file on the server, then we have a change of
> state and POST should be used other cases GET is OK.
>
> Nigel
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manageratshocker [dot] com


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: Flash4 and forms, Brian Clifton
  Re: FLASH: Flash4 and forms, Nigel Randsley-Pena

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]