H
hemant.singh
Hello Dude,
Say same client send request 2 times by pressing "submit" button one
after another
- Request1
- Request2
Now say if we keep flag on the server side
PROCESS_PENDING
PROCESS_DONE
Request1 comes we will set the flag for that session as PROCESS_PENDING
until we finish the complete processing, now before even process is
finished client send request2 but we will reject this request2 as
server is processing request1, but for browser he forgot request1 and
expect reply of response2 only and thus browser showing empty page, att
There is already client side javascript which will prevent idempotency
but im just wondering about the clients which have javascript
disabled...
Hemant
Say same client send request 2 times by pressing "submit" button one
after another
- Request1
- Request2
Now say if we keep flag on the server side
PROCESS_PENDING
PROCESS_DONE
Request1 comes we will set the flag for that session as PROCESS_PENDING
until we finish the complete processing, now before even process is
finished client send request2 but we will reject this request2 as
server is processing request1, but for browser he forgot request1 and
expect reply of response2 only and thus browser showing empty page, att
There is already client side javascript which will prevent idempotency
but im just wondering about the clients which have javascript
disabled...
Hemant