Yes, it's because of the response.setDateHeader("Expires",0); This indicates
to the browser when the data on the page is to be considered stale, and the
0 sets the header to be very, very stale (Jan 1, 1970 I think). Your
browser is informing you that the page has expired and letting you know that
in order to get an "updated" version it has to resubmit the form data, which
could cause problems on some sites.
(*Chris*)
----- Original Message -----
From: Patty Case <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 1999 4:35 PM
Subject: Losing data when resizing browser window
> I have a JSP page with frames, and when I resize the browser window or if
I
> resize a frame, I get:
>
> Data Missing
>
> This document resulted from a POST operation and has expired from the
cache. If
> you wish you can repost the form data
> to recreate the document by pressing the reload button.
>
> In my JSP pages, I have the following to prevent caching:
>
> response.setHeader("Pragma","No-Cache");
> response.setDateHeader("Expires",0);
> response.setHeader("Cache-Control","no-Cache");
>
> Is this a frame problem? Is this a general problem with
dynamically-generated
> pages? Is this happening because of the code
> to prevent caching?
>
> Is there any way around this problem?
>
> Thanks,
> Patty
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html