Jul 24, 2013, 11:32 AM
[CLOSED] Handling session for a EXT.NET Grid Panel ajax Call
Hi Ext.NET Team,
I have created a custom action filter for handling session expiration.
Inside that filter I have checked whether session is null if yes i am redirecting it to the login page
Below is the action filter code snippet:
It do redirect to the login page but inside a window below is the method where i have placed the filter:
In the attachment the login page comes inside the window.
Any suggestion on how to resolve this.
I have created a custom action filter for handling session expiration.
Inside that filter I have checked whether session is null if yes i am redirecting it to the login page
Below is the action filter code snippet:
if (HttpContext.Session["PRUserDetails"] == null)
{
HttpContext.Response.Redirect("~/Account/LogOut");
return;
}
Issue is when i am placing that filter to an ajax call to load the grid panel.It do redirect to the login page but inside a window below is the method where i have placed the filter:
[SessionExpireFilter]
public StoreResult LoadGrid()
{
...
return this.Store(Model)
}
In the attachment the login page comes inside the window.
Any suggestion on how to resolve this.
Last edited by Daniil; Jul 25, 2013 at 5:57 AM.
Reason: [CLOSED]