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

Posted on 2006-05-02
Medium Priority
Last Modified: 2010-03-04
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 window.open(openURL,'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

Question by:jcrocker2006
1 Comment
LVL 10

Accepted Solution

sleep_furiously earned 750 total points
ID: 16589589
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

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question