Last post Mar 25, 2015 11:11 PM by itpreneur
Mar 19, 2015 05:03 AM|Pareshinc|LINK
Hi, I am having a MVC application which is converted into SPA using Sammy.js. Now when i start my application i get the login page. After login my landing page contains the Partial View and my layout page. Now the layout page do not reload again and again
when ever i do navigation. But the real problem is when the session timer gets expires it redirect to Login page which comes in middle of my layout page. I want that my layout page should also get disappear after session expires and there should be only login
Page. How can i do it.
Below is some code:-
<forms loginUrl="~/" timeout="2880"/>
Mar 22, 2015 09:49 AM|Kevin Shen - MSFT|LINK
Have your tried to set the layout as null when you redirect to the login page
after the session timer get expires?
Mar 24, 2015 11:03 PM|Pareshinc|LINK
I tried to set layout = null for login page but now when i start my application it shows only login view due to which do not looks properly.
Is there any way to set the layout null only when session expires for login page.
Mar 25, 2015 11:11 PM|itpreneur|LINK