Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Re: page expiry


Message #1 by indranil chakraborty <indra_raja27@y...> on Fri, 3 May 2002 01:52:00 -0700 (PDT)
this email has been misdirected to me please take necessary actions.

----- Original Message -----
From: "indranil chakraborty" <indra_raja27@y...>
To: "Servlets" <servlets@p...>
Sent: Friday, May 03, 2002 2:52 PM
Subject: [servlets] Re: page expiry


> add the following at the beginning:
>
>  response.setHeader("CACHE-CONTROL", "no-cache");
> OR
>  response.setHeader("PRAGMA", "no-cache");
> OR
>  response.setDateHeader("Expires", 0);
>
> thanks,
> indranil.
>
>
> --- gowri shankar <beemsen@y...> wrote:
> > Hi friends
> > I just want to know how to expire a page. For
> > example, if a user goes from
> > page 1 to page 2 and hits back button on the browser
> > to go back to the
> > page 1 then he should get a message that the page
> > (page 1) has expired.
> > Any suggestions would be appreciated. Thanks.
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
>
>



  Return to Index