Avatar of mqatrawi
mqatrawi
Flag for Jordan

asked on 

Prevent F5 from repeating the last request

Hello experts,

The problem:
We have a web application, and we are facing a problem with authentication of users as follows: if a user login successfully to the system and leaves the browser opened till his session expired, then if another person presses F5 the browser resends the last request which was a valid authentication request for the previous user and so the system will re-authenticate the user.
Is there away to prevent the browser from caching the last request submitted by the user to prevent this problem?
Note: I want to keep the F5 working on my web application.
Thanks a lot.
Web BrowsersScripting Languages

Avatar of undefined
Last Comment
mqatrawi

8/22/2022 - Mon