Re: [INTERFACES] compile error
От | Aldrin L. |
---|---|
Тема | Re: [INTERFACES] compile error |
Дата | |
Msg-id | Pine.LNX.3.96.980630132035.351B-100000@master.unplugged.br обсуждение исходный текст |
Ответ на | Re: [INTERFACES] compile error (Herouth Maoz <herouth@oumail.openu.ac.il>) |
Ответы |
Re: [INTERFACES] compile error
|
Список | pgsql-interfaces |
On Tue, 30 Jun 1998, Herouth Maoz wrote: > 2. Do you know how form parameters are transferred from an page > in a browser to a CGI program in general? What the difference > is between GET and POST? Why the raw data that is passed needs > "parsing"? > > 3. Now, do you have a good CGI-data parsing mechanism for C? One > that will give you the name-value pairs, and allow you to get > multiple values, if there are any? If you don't have a > library, or have trouble in using it, you really should choose > a different language. If you use a library called 'cgic', available at http://www.boutell.com/cgic/, these two problems will be quickly solved. :) > 5. Do you know the problems of CGI and real-world applications? Do you > know CGI is stateless? That it means that no information is kept from > what the user passed to the CGI? Do you know that you have to take > care of it yourself? Maintain some sort of "session" information and > have some way of knowing that the client that connects now to the > database is the same client that connected to it three minutes ago > and started some work? If you want the user to be able to do several > consecutive screens, like read-and-update, you have to think about > this problem, and find a solution for it. Also think about multi- > user scenarios. The same, if you are a clever programmer who always initialize the variables before using them. :) done. Aldrin Leal. <aldrin@americasnet.com>
В списке pgsql-interfaces по дате отправления: