Posted on: 1/12/2015 8:23:14 PM | Views : 1265

Hi guys,
i am going crazy with the "Session lost" scenario...
I am using the asp.net Login control (Framework 4.5) to authenticate my users. After user enters some data, i am verifying the user. If the user exist in the DB, first i create an User object, fill the object with some data and store this data in a Session veriable. Here is the part of my code.
DataModel.User user = UserLogin.ValidateUser(tenant.TenantToken, email, hashedPassword, tenant.TenantConnectionString); if (user != null) { bool loggedIn = SessionHelper.CheckForMultipleLogin(user.UserEmail); if (!loggedIn) { FormsAuthentication.SetAuthCookie(user.FullName, false); Session["User"] = user; e.Authenticated = true; ...

Go to the complete details ...