I am trying to dynamically display results that I retrieve from my database i.e. only 5 results per page and code should automatically compute how many pages it needs and create links for each page. I have also added a link at the top of my page so that if user wants to POST new data he can post it. Problem is that when I click on page 2 or 3 or any numbered page and click on POST link it gives me following error (however when it is loaded for the first time and I am on page 1 and I click on POST then it takes me to POST page but if I click on page2 and then back on page1 link then it gives me same error when I click on POST)
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
And it did not tell about any header etc.