Sometimes the browser loads the CGI page sometimes it doesn't

There seems to be no ryme or reason to this but I have a web site with a button that runs a CGI via javascript.  I put an alert just before the,'DPW1');  and it always gets there its just that sometimes it loads and sometimes it doen't.  I have determined that if I set the browser to check for new versions of a page ever visit it works.  But I really have no way of making users change their settings.  I have tried imbedding a refresh and get complaints about the message about it resublitting the data..  I have also tried META tags <META HTTP-EQUIV="Expires" CONTENT="-1"><META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
I am running apache on an AS/400 and was wondering if there is a server setting to force this.  Any ideas whould be helpful

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What version of Apache on AS/400?  If you are using the one supplied by IBM, in the web console you can set the Expires header for your HTTP server at:

Server Properties > HTTP Responses > Expires Header

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.