On Tuesday 07 January 2003 9:17 pm, Susan Aurand wrote: > I know the POST Method the data is sent to STDIN, and GET method the data > is attached to the URL and then submitted. When and why would you want to > use the GET method versus the POST method. Is is because of firewalls? or > what? I would appreciate any input on this subject. Thank You. > Susan Evans
Hi Susan, Most of the time it doesn't matter which you use, and as far as firewalls are concerned, I don't think that it matters. Historically, GET was the first method of submitting form data - I think because it required little or no changes to the http protocol - I simply was a longer URL passed in the HTTP request. However, GET has limitations - mainly I think size. GET has a relatively small size, defined by the maximum length a URL can be. This means that it cannot handle large forms, containing for example many textareas. It also cannot support file uploads. The only benefits of using GET that I can think of is that you can emulate a form by manually keying the data in the URL, and you can even create a bookmark containing the completed form details. I personally use this to bookmark specific queries to some of my databases tosave mehaving to complete the form every time I want a status update. The benefits of POST are tidier URLs, and not having the limits I mentioned above. -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]