Hi

Quoting spot_ <[EMAIL PROTECTED]>:

how can I make shure, that only one request of a user is processed at the
same time. In other words: I want to dismiss a request of a user, if a
request of the same user is already running at the moment.

There is no clear answer to this question. And you probably have to think
hard about what you really want to achieve.

To prevent a form to be submitted twice, you could use a ticket service.
This would also prevent to have the form to be submitted again, even if
the first request has been completely processed. But it would not help
against having two different forms submitted at the same time (without
having substantial additional logic in the ticket service).

But I think you are trying to implement logic at the wrong level. The
underlying services need to be able to cope with concurrent requests.
A resulting error can then be reported back to the user.

Regards,
Christian

--
Christian Haselbach
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschüftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Amtsgericht München, HRB 135082

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to