C
Chen Zhigao
I have a web page to submit some inputs to a CGI program (written in C)
on server. The CGI may generate some messages after processing the
inputs. And I want to display these messages back to the web page.
But the problem is that CGI programming seems required to begin with a
"Content-type: text/html" line. It results in generating a new web page
in the browser window, and I have not found a solution to pass messages
between two web pages.
Hence, I wonder whether the browser window can remain in the original
page while the CGI program is still able to process the inputs without
the line. Any pointer is much appreciated.
on server. The CGI may generate some messages after processing the
inputs. And I want to display these messages back to the web page.
But the problem is that CGI programming seems required to begin with a
"Content-type: text/html" line. It results in generating a new web page
in the browser window, and I have not found a solution to pass messages
between two web pages.
Hence, I wonder whether the browser window can remain in the original
page while the CGI program is still able to process the inputs without
the line. Any pointer is much appreciated.