How to handle expired session within modal bootstrap 4.x?

0

I have a system where the user chooses a date and time for scheduling, I increased session time because the user needs to fill out a form with various information, it is working beauty.

It happens that after the session has expired the browser keeps the page in view, when the user clicks the modal bootstrap window appears with the index page for the user to log in again, this "re-login" behavior is already expected.

The problem is that the login screen appears inside the bootstrap modal, I would like it to appear in the whole window otherwise it confuses the user, because when he logs in again he goes to the home page.

Is there a way to handle this or will I have to check which window is being opened in the modal?

    
asked by anonymous 24.09.2018 / 14:03

0 answers