Dec 15, 2011, 4:23 PM
[CLOSED] MVC + Session timeout
Hi,
we have a MVC application that requires a logon and a session expiration time of X minutes. After staying on a single page for that amount of time if a page refresh occurs, it redirects to login page, that works fine, but, when we have, for example, a button on a view that when you click on it, has to fill part of that view with some data or wathever trough AJAX, the login page appears on the region that should have the data.
Any thoughts on how we can redirect users to login page when something like that happen?
Thanks.
we have a MVC application that requires a logon and a session expiration time of X minutes. After staying on a single page for that amount of time if a page refresh occurs, it redirects to login page, that works fine, but, when we have, for example, a button on a view that when you click on it, has to fill part of that view with some data or wathever trough AJAX, the login page appears on the region that should have the data.
Any thoughts on how we can redirect users to login page when something like that happen?
Thanks.
Last edited by Daniil; Dec 22, 2011 at 3:37 AM.
Reason: [CLOSED]