as it is possible after the user is dropped from the system by inactivity, the same return to the same screen that was after login

Asked

Viewed 89 times

1

As I am new and I am learning mvc, I would like to know, as it is possible after the user is dropped from the system by inactivity, the same go back to the same screen that was. I know the code already redirects you every time to the home page, but I’d like to make it dynamic so he can get back to the last page before his session is dropped.

  • 1

    Save, in cache or localstorage the last route accessed, before the function of undoing, when logging, check if you have any route save and redirect it

  • Broad, context-free, and generally CMS frameworks languages do this ...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.