Jan 30, 2015, 9:56 AM
[CLOSED] Authorize, redirect, Direct method call
I have the following scenario:
A direct method call in the view calling a controller method on the server that returns a partial view. The partial view is presented as an Ext.Net window. The controller method is marked with [Authorize] attribute. When the session expires and the user is logged out, what happens now is that you just get a flicker on the screen for the Loading mask and then nothing. You still see the same page.
I would like to redirect the user to the login page in this scenario.
How can I do this please?
A direct method call in the view calling a controller method on the server that returns a partial view. The partial view is presented as an Ext.Net window. The controller method is marked with [Authorize] attribute. When the session expires and the user is logged out, what happens now is that you just get a flicker on the screen for the Loading mask and then nothing. You still see the same page.
I would like to redirect the user to the login page in this scenario.
How can I do this please?
Last edited by Dimitris; Feb 19, 2015 at 3:25 PM.
Reason: [CLOSED]