Also a favorite that always keeps users on the latest page:

<script language="JavaScript">

            <!--       

            window.history.forward(1);

            //-->

</script>

 

If they're not swift enough to realize they shouldn't click the back button
during form data entry, they also usually don't know how to disable
Javascript on their own. :-)

 

--------------

Ian Skinner wrote:

I like adding these lines to applications like this, just for this reason.
So that users can't cause bad things to happen by using the back button. 

<!--- set headers to prevent the page from be cached by the browser ---> 
<cfheader name="expires" value="#now()#"> 
<cfheader name="Cache-Control" value="no-cache"> 
<cfheader name="Pragma" value="no-cache">



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199441
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to