Re: [INTERFACES] compile error

From: "Aldrin L(dot)" <aldrin(at)americasnet(dot)com>
To: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
Cc: rony khoury <rkhoury(at)apotres(dot)edu(dot)lb>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] compile error
Date: 1998-06-30 17:22:12
Message-ID: Pine.LNX.3.96.980630132035.351B-100000@master.unplugged.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)americasnet(dot)com>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Aldrin L. 1998-06-30 19:05:29 Re: [INTERFACES] compile error
Previous Message Herouth Maoz 1998-06-30 08:50:22 Re: [INTERFACES] compile error