Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Re: javascript - cannot go back


Message #1 by "James yuk" <jamesyuk@h...> on Thu, 04 Jan 2001 14:20:16
you can add this code in jsp file..
i am using it and it works...

<%
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy 
server
%>

regards,
James Yuk :-)



>From: "Vishnu  Kumar" <vishnuvkumar@r...>
>Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>Subject: [pro_jsp] javascript
>Date: 4 Jan 2001 06:52:46 -0000
>
>hello ,
>        I am sorry to ask a question on jsp here.can anyone tell me how to
>clear the history ,so that he/she can not go back.

--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems.  
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to pro_jsp as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_jsp-$subst('Recip.MemberIDChar')@p2p.wrox.com

  Return to Index