passing variable between cgi

From: hoelc <hoelc(at)pd(dot)jaring(dot)my>
To: linux-net(at)vger(dot)rutgers(dot)edu, PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: passing variable between cgi
Date: 1999-03-01 15:05:49
Message-ID: 36DAACCD.9FB547C1@pd.jaring.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,
I am setting up PostgreSQL (postgresql-6.4.2) database in Linux (Linux 2.0.27)
system, and want to access the database with cgi ( C program) through Apache
(version 1.1) server. My application involve a few cgi programmes.
I can not figure out how to pass varibles between cgi programmes.

My application involve some thing like this:
In a HTML page, when the user click a button, a cgi program will run and get
some data from Postgres, then when the user click another button, the other cgi
will be triggerred to process certain data got by the previous cgi, so, I will
need to pass the data get by the first cgi to the second cgi according to the
user choice ...

I am using the embedded SQL (ecpg) method to write the cgi ( C program ) to get
data from postgresql-6.4.2.
How should I pass variable between these C program? What are the common methods
to develop this kind of application?
Please advice.
Thank you.
LCH

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message nagib hobeica 1999-03-01 15:30:47 Re: passing variable between cgi
Previous Message Ben Gunter 1999-03-01 15:02:09 Re: [INTERFACES] Tables acting funny with pgaccess