Base solution for your next web application
Open Closed

Redirect to login page when session expires. #2918


User avatar
0
omkarchoudhari created

Why does our web application throw a runtime error when a page is not in use for some time ? If we refresh we get runtime error. Whereas it should redirect to login page as the user session has expired. We tried changing the session timeout in web.config, but it does not help.

Please provide us way to redirect to login page when session timeout happens.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Normally, it should redirect you to login page when you refresh the page. Which version of ABP do you use in your project ? And can you share the error message ?

    Thanks.

  • User Avatar
    0
    omkarchoudhari created

    ABP Version 3.0 Angular 1x.... and MVC5.

    We get internal server error or the yellow Runtime Error page. This happens when a page is left unattended for some time and we refresh it.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Thanks, we will try to reproduce this problem. In the mean time, if you can find any detailed error message in Logs.txt under your web project, can you send it to us ?

    Thanks.