I have a table with fields: code and status.
I created a new page with route mypage/account/{code} only when status = 2 can I enter the page and this page has a form.
I want to help, after about 10 minutes of inactivity on the page, when clicking the submit button, it will redirect to the timeout page. And when clicking the back button on the browser, it cannot return to the page mypage/account/{code}
Please give me some suggestion and example to help me solve this problem. thanks a lot