Hello, everybody!

Replying to my own message as I have found myself to be wrong.
1)

<WRONG!WRONG!WRONG!>
  AT> Expires: -1
  AT> Cache-Control: no-chache
  AT> Pragma: no-chache

  AT> could not force Opera to reload /aaa/a.jsp
</WRONG!WRONG!WRONG!>

When it comes to reloading pages Opera behaves exactly as IE  with the
only exception:
                                                    if a page has been
   generated in reponse to a POST and you press  "Refresh" it does not
   ask you if you really want the data to be reposted, it just reposts
   them without asking. IE and NN do ask. But this may be considered a
   feature not a bug.

2)

"Disabling" the "Back" button trick (you submit a form to somewhere
and then send a redirect to the original page. this way you have
the user always be at the same url) works only in NN. It does not
work with IE or Opera. It's a pity.

3)

NN and IE/Opera handle the Expires header and the "Back" button
differently.

 3.1) if you go to a url and theat url has been previously loaded
      and there was no "Expires" header
       3.1.1) NN treats it as the page has expired
       3.1.2) IE/Opera treat it as if the page has not expired

 3.2) if the user gets to a url by the "Back" button
       3.2.1) NN reloads the page if there was and "Expires" header
              that says that the page has expired
       3.2.2) IE/Opera never reload the page

4)

If you submit a FORM with a POST and after processing it reply with
a redirect to a url that has already been visited

  4.1) NN reloads the page if there was no "Expires" header in the
       page loaded from that url, or if there was a header and the
       time has come for that page to expire.
  4.2) IE always reloads the page

Hope this helps somebody. I also apologize for inaccurate info sent
earlier to the list

Best regards, Anton Tagunov

___________________________________________________________________________
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

Reply via email to