refreshing a page doesn't commit a transaction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 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
>
>  
>
>  
>
>
Reply | Threaded
Open this post in threaded view
|

Re: refreshing a page doesn't commit a transaction

mekkoman
In reply to this post by Ahmed Raza
G’day, ich wollte eigentlich aufhören zu spielen, weil ich nur Pech hatte, aber ein Kollege empfahl mir https://bookofralive.com book of ra online casino, vor allem wegen der Bonusangebote für Leute aus Deutschland, die mir gleich ein paar Extras gegeben haben. Beim Book-of-Ra-Slot war ich erst wieder in einer Verlustserie, doch dann kamen Freispiele und ein richtig guter Gewinn, nachdem ich ein bisschen mehr Risiko gewagt habe. Seitdem nutze ich die Bonusaktionen regelmäßig, weil sie nach stressigen Tagen echt Spaß machen und mir helfen, abzuschalten.