Session End on MVC sample

  1. #1

    Session End on MVC sample

    Hi,

    When session ends in ASP.NET MVC sample and any action is done over the application, it shows a "Request Failure" message when it should show the login window again.

    How could this be solved?

    Thanks in advance,

    Dominik.
    Attached Thumbnails Click image for larger version. 

Name:	MVC.jpg 
Views:	258 
Size:	89.3 KB 
ID:	2639  
  2. #2
    You need to add ShowWarningOnFailure="false" on Store and Add a LoadException Listener

    <ext:Store ID="MainStore" runat="server" RemotePaging="false" RemoteSort="false" RefreshAfterSaving="Always" ShowWarningOnFailure="false"> 
       <Listeners>
           <LoadException Handler="if (response.status === 200 ) { ... } else ... " />
       </Listeners>
    </ext:Store>

Similar Threads

  1. Session End on MVC sample
    By Dominik in forum 1.x Help
    Replies: 4
    Last Post: Jun 22, 2011, 7:13 AM
  2. get session[somevalue]
    By thiefo in forum 1.x Help
    Replies: 2
    Last Post: Mar 12, 2010, 5:10 AM
  3. Session Issue
    By syed2uk in forum 1.x Help
    Replies: 1
    Last Post: Oct 14, 2009, 9:32 AM
  4. Cookieless session state
    By signup in forum 1.x Help
    Replies: 3
    Last Post: Aug 26, 2009, 8:05 AM
  5. Session issue with IE
    By Sandeepan in forum 1.x Help
    Replies: 0
    Last Post: Apr 27, 2009, 8:16 AM

Posting Permissions