do you have and are "printing" something similar in your cgi program?

D HTTPHeader      C                   CONST('Content-type: text/html')
D Pragma          C                   CONST('Pragma: no-cache')
D Expires1        C                   CONST('Expires: Saturday, February ')
D Expires2        C                   CONST('15, 1997 10:10:10 GMT')

C                   eval      WrtDta = %trim(HTTPHeader) +
C                                      NewLine + Pragma +
C                                      NewLine +
C                                      Expires1 + Expires2 +
C                                      NewLine + NewLine
C                   CALLP     #WrStout(WRTDTA)

This will tell "most" browsers that they should get new data; the cache is
expired "immediately".

HTH

Mark

-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On
Behalf Of Justin Houchin
Sent: Thursday, April 18, 2002 6:52 AM
To: web400@midrange.com
Subject: [WEB400] Refreshing of Page


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi Everyone,
    I have just noticed that my browser will read the CGi program one time
and after that tries to retrieve the same CGI Program from the cache on a
local machine, this results in data that is not updated from the 400. I have
to hit the refresh button everytime. Is there a way to tell the web browsers
not to cache the page?


Thanks
Justin Houchin
Programmer
Reliatek, Inc
_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.