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

Posted on 2006-05-02
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,'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

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    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…
    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now