Added no-cache date header to the WAYF response for clients that need it.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 30 May 2002 16:50:58 +0000 (16:50 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 30 May 2002 16:50:58 +0000 (16:50 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@12 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/wayf/WayfService.java

index a29a2db..cefe824 100755 (executable)
@@ -82,6 +82,7 @@ public class WayfService extends HttpServlet {
                //Tell the browser not to cache the WAYF page
                res.setHeader("Cache-Control", "no-cache");
                res.setHeader("Pragma", "no-cache");
+               res.setDateHeader("Expires", 0 );
 
                //Decide how to route the request based on query string
                String requestType = req.getParameter("action");