Re: [Zope] How to prevent the user from going "Back" to a page???

2001-01-25 Thread Chris McDonough

> Use a session tracking product, that'll give you a session id and ocne the
> session is complete, you can return an error if that session id is
presented
> again.

I'd probably handle this instead by computing an identifier for the
transaction and including it as a hidden form field on the submission page.
Keeping one day's worth of transaction ids somewhere to check against in the
form action would probably suffice.



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] How to prevent the user from going "Back" to a page???

2001-01-25 Thread Chris Withers

Daniel Rusch wrote:
> 
> 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.

Use a session tracking product, that'll give you a session id and ocne the
session is complete, you can return an error if that session id is presented
again.

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] How to prevent the user from going "Back" to a page???

2001-01-25 Thread Daniel Rusch

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  -  [EMAIL PROTECTED]
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 )