Session Logout in every two minutes.
        Posted  
        
            by Pankaj Mishra
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Pankaj Mishra
        
        
        
        Published on 2010-05-28T08:48:00Z
        Indexed on 
            2010/05/28
            8:51 UTC
        
        
        Read the original article
        Hit count: 332
        
ASP.NET
I have Web Application in asp.net. Where I am maintaining Session for every User. And every Time I got logout in Approx 2 min. I tried to increase this time through web Config File upto 60 min but it is not working For me and I m getting same problem.
I have created A class file For maintaining session.I am Using This Code.
public static void createSession(System.Web.SessionState.HttpSessionState session)
    {
        Session = session;
    }
This is my class file code.
And I am calling this function in login Page load like this.
BusinessClasses.SessionHandler.createSession(Page.Session);
Then After I am Checking In everyPage.
But this code is not working for me. Please Give Suggest me correct solution for this problem.
© Stack Overflow or respective owner