refreshing a page doesn't commit a transaction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

refreshing a page doesn't commit a transaction

Ahmed Raza
Hi

    How can I make sure in Ofbiz that a refreshing a page doesn't commit a
transaction

    For example if a I m on createPayment page just created a paymentId
again refreshes the page it makes a new payment Id.

    If I m using request-redirect and refresh the page then payment Id is
not created but I gets error message on the page.

   So even though user refresher a page it should show the page but not
create a new payment id

 

 

Thanks in advance

Ahmed Raza

Amicon Technologies Pvt Ltd

Mumbai

 

 

Reply | Threaded
Open this post in threaded view
|

Re: refreshing a page doesn't commit a transaction

Jacques Le Roux
Administrator
Sometimes ago I thougth about introducing a Synchronizer token pattern, did not find the time yet...

http://markmail.org/message/eup3gac2scper6du#query:+page:1+mid:jb2aiwlaef4sqof7+state:results

Any help is welcome...

Jacques

De : "Ahmed Raza Khan" <[hidden email]>

> Hi
>
>     How can I make sure in Ofbiz that a refreshing a page doesn't commit a
> transaction
>
>     For example if a I m on createPayment page just created a paymentId
> again refreshes the page it makes a new payment Id.
>
>     If I m using request-redirect and refresh the page then payment Id is
> not created but I gets error message on the page.
>
>    So even though user refresher a page it should show the page but not
> create a new payment id
>
>  
>
>  
>
> Thanks in advance
>
> Ahmed Raza
>
> Amicon Technologies Pvt Ltd
>
> Mumbai
>
>  
>
>  
>
>