* Added some more meta-tags to (hopefully) prevent the "lame goto" caused by
authorArt Cancro <ajc@citadel.org>
Tue, 21 Aug 2001 04:02:56 +0000 (04:02 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 21 Aug 2001 04:02:56 +0000 (04:02 +0000)
  unwanted page caching

webcit/ChangeLog
webcit/README.txt
webcit/roomops.c
webcit/webcit.c

index 019ca8621f97e1f7f13d333fc419fff2f006718b..3a2c25b3d26d8e6955327cefeddcc53b2b2c9abc 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 301.5  2001/08/21 04:02:56  ajc
+* Added some more meta-tags to (hopefully) prevent the "lame goto" caused by
+  unwanted page caching
+
 Revision 301.4  2001/08/13 03:43:24  ajc
 * Got it!
 
@@ -615,4 +619,3 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
-
index 51c847d27605fd46c5ee90c6849656a2b1284446..658e019c2480cd41f549e6cde93096b13857b788 100644 (file)
@@ -1,7 +1,7 @@
                       WEBCIT for the Citadel/UX System
                                version 3.01
  
-   Copyright (C) 1996-2000 by the authors.  Portions written by:
+   Copyright (C) 1996-2001 by the authors.  Portions written by:
        Art Cancro
        Nathan Bryant
        Nick Grossman
index b89081d80f9a0458a0e037b355fd48938d4ebe6d..f249351a6d4fbbcc01894b4cb968ee8233c32e93 100644 (file)
@@ -387,7 +387,9 @@ void gotoroom(char *gname, int display_name)
                 wprintf("Cache-Control: no-store\n");
 
                wprintf("<HTML><HEAD>\n"
+                       "<META HTTP-EQUIV=\"refresh\" CONTENT=\"500363689;\">\n"
                        "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"
+                       "<META HTTP-EQUIV=\"expired\" CONTENT=\"28-May-1971 18:10:00 GMT\">\n"
                        "<meta name=\"MSSmartTagsPreventParsing\" content=\"TRUE\">\n"
                        "</HEAD>\n");
                do_template("background.html");
index 49d52eccadf11718d1a6bd378b5df353fdb1ae1c..e936f2b5f37a8ef5eea011175a5cb71c6b58cab9 100644 (file)
@@ -322,11 +322,13 @@ void output_headers(int controlcode)
                wprintf("<HTML><HEAD><TITLE>");
                escputs(serv_info.serv_humannode);
                wprintf("</TITLE>\n"
-                       "<META HTTP-EQUIV=\"Expires\" CONTENT=\"0\">\n"
                        "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"
+                       "<META HTTP-EQUIV=\"expired\" CONTENT=\"28-May-1971 18:10:00 GMT\">\n"
                        "<meta name=\"MSSmartTagsPreventParsing\" content=\"TRUE\">\n");
                if (refresh30) wprintf(
                        "<META HTTP-EQUIV=\"refresh\" CONTENT=\"30\">\n");
+               else wprintf(
+                       "<META HTTP-EQUIV=\"refresh\" CONTENT=\"500363689;\">\n");
                wprintf("</HEAD>\n");
 
                /* script for checking for pages (not always launched) */