Session Logout in every two minutes.
- by Pankaj Mishra
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.