Hi:
1:)  I try the meta tag with static html, and the page is still be cached in disk.  
Also, I try setHeader("Expires", "-1"), setHeader("Pragma", "no-cache"), and 
setHeader("Cache-Control", "no-cache") in servlet to generate the html page, but it is 
still cached in memory.  Therefore, user can still use back/forward button to see the 
page.  
2:)  Another question --- I use setHeader("WWW-Authenticate", "Basic realm=myrealm") 
to get user enter their userid and password, and I will display a html page without 
doing any password verification.  In Netscape, everything runs fine.  But, in IE4.0, I 
have to enter the correct userid and password for that network machine which is where 
my server is installed to get the html page displayed.  

Any answer for the above question?

Thanks, any help will be appreciated,
        Jackie

----------
From:   Magnus Lie Hetland[SMTP:[EMAIL PROTECTED]]
Sent:   Friday, April 02, 1999 10:27 AM
To:     [EMAIL PROTECTED]
Subject:        Re: Security - Page Cached

On Fri, 2 Apr 1999, Hector Fabio Meza Martinez wrote:

> well, if the page is generated by a servlet, you can use
> setHeader("Expires","-1"), which instructs the browser not to cache the
> page. If the page is static HTML, I don't know how to set the header, so
> you'll have to look to an HTML guide.

Do something like:

<head>
<meta http-equiv=Expires content=-1>
<title>
.. etc.

--

  Magnus
  Lie
  Hetland        http://arcadia.laiv.org <[EMAIL PROTECTED]>

___________________________________________________________________________
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

Reply via email to