Received: from relay14.jaring.my (relay14.jaring.my [192.228.128.125]) by hub.org (8.9.2/8.9.1) with ESMTP id KAA14964 for ; Mon, 1 Mar 1999 10:05:43 -0500 (EST) (envelope-from hoelc@pd.jaring.my) Received: from pd.jaring.my (j23.glg83.jaring.my [161.142.208.97]) by relay14.jaring.my (8.8.8/8.8.7) with ESMTP id XAA25202; Mon, 1 Mar 1999 23:05:06 +0800 (MYT) Message-ID: <36DAACCD.9FB547C1@pd.jaring.my> Date: Mon, 01 Mar 1999 23:05:49 +0800 From: hoelc Reply-To: hoelc@pd.jaring.my X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: linux-net@vger.rutgers.edu, PostgreSQL Interfaces Subject: passing variable between cgi References: <65256706.00327968.00@surya.nse.co.in> <36D94D24.F893FEE7@pd.jaring.my> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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