As ther is no way to disable browser's back button, I've made a tricky
javascript that I place in my base template (or tile) that is as
follows:
<script language="JavaScript">
<!--
        window.history.forward(window.history.length);
//-->
</script>

Additionally, I use tokens and pragma no cache, but the previous script
assures that if user clicks back, the page is returned to the last one
(the valid one).

-----Original Message-----
From: Richard Hightower [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 15 de Enero de 2004 07:58 a.m.
To: Struts Users Mailing List
Subject: RE: Back and Refresh Button Effect


pragma no cache, transaction tokens.

-----Original Message-----
From: Gede Indrawan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:01 AM
To: Struts Users Mailing List
Subject: Back and Refresh Button Effect


Hi all,

In building struts web appl, what are the deep concern we must have to
the browser back and refresh button effect?

TIA
-GI.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to