Hi, I have developed a stateless page with flow logic. All the functionality is working fine. But when user clicks on browser refresh, browser sending back the last stored information back to the server ( which is standard browser functionality ) and this resulting in posting of duplicate GR.
I have used server side cookies to compare last entry and current entry, if they both are same I am triggering an error. I am holding the cookie for 1 minute. This takes care of refresh.
But the problem is, when user want to post a new entry which has same details like same PO number, same qty and same delivery, then also I end up triggering the same error as in the case of refresh.
Can anybody suggest me a way to identify browser refresh at the server level.
Best regards,
Siva