To: [EMAIL PROTECTED]
> > Subject: How to expire page
> >
> > How can I stop browsing caching the JSP pages.
> > Requirement is that if user press the back button on browser then
that
> > page
> > should expire.
> >
> >
How can I stop browsing caching the JSP pages.
Requirement is that if user press the back button on browser then that page
should expire.
I tried the following
<%
response.setContentType(loginSession.getPageContentType());
response.setHeader("Cache-Control","no-cache");
respon
PROTECTED]
Subject: Re: Expire Page
Thanks Atif, but this did not work.
Any other ideas?
- Original Message -
From: Majeed, Atif <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 7:51 PM
Subject: Re: Expire Page
> You can use
> HttpServletResponse
Thanks Atif, but this did not work.
Any other ideas?
- Original Message -
From: Majeed, Atif <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 7:51 PM
Subject: Re: Expire Page
> You can use
> HttpServletResponse.setHeader("Pragma"
You can use
HttpServletResponse.setHeader("Pragma", "no-cache");
or send an equivalent Meta tag
Atif
-Original Message-
From: David Gowe [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 1:08 AM
To: [EMAIL PROTECTED]
Subject: Expire Page
Hello!
I have the f
Hello!
I have the following requirement:
When I use a JSP page and submit it to the the servlet, I want that page to
expire (viz.,. the user should not be able to press the back button on the
browser and visit that page again). Is it sufficient if we specified the
"scope" in the usebean tag to