[Zope] How to prevent the user from going

rlanham@speakeasy.net rlanham@speakeasy.net
Thu, 25 Jan 2001 09:28 -0800


I use this on asp pages, you will have to modify for zope syntax, but it works
very well for your need:

Response.buffer = true
Response.Expires = -1
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-store"



 ------------ Original Message -----------
> From: Daniel Rusch <drusch@globalcrossing.com>
> Date: Thu, 25 Jan 2001 10:07:51 -0600
> 
> All,
> 
> Has anyone figured out a way to prevent a user from going "Back" to a
> page once they have passed it. 
> 
> 
> The situation: 
> 
> We have an Order Entry/Billing intranet site where users fill out
> several pages of data an then submit the information. After the order is
> submitted we would like to prevent them from backing up and resubmitting
> the same order. Is there a way to prevent them from doing this. 
> 
> I know I can remove the tool bar, but then the user can right click and
> select "Back" or select GO|Back. 
> 
> Any Ideas?
> 
> DR
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>