I want to use cookies for storing userId during the session which lets to avoid unnecessary roundtrips to the data base. This userId is used to access some user specific information. As cookies can be
I\'m using asp.net (.net 4.0) on iis6, and have a sessionvariable that is gone after about 20-30 mins.
I\'ve encountered a weird problem. Everytime I refresh the page, IsPostBack is false. To make sure nothing in my contents or master pages is causing this, I have created an empty web form and fired it
How does one implement maintaining sessions securely. Suppose just the login page uses SSL. So the user enters his usernamepassword and the http server verifies it is in the database and now what?
I ran InstallSqlState.sql from .Net Framework 4.0 directory in Sql Server. Then I configured Sql session using this:
I am storing my session on a session-state server. (Storing it inproc doesn\'t work.) I am trying to use the classes generated by the linq-to-sql-designer built in to visual studio (2010) for objects
The SessionState time out value can be configured via the web.config <sessionstate timeout=\"x\"/>
I have bool variable in my session state. When I try to get this value I get for all users. When I login like another user who doesn`t have initialize Session state, I got same value.
I am trying to show a customer errors page in ASP.NET when the database is down. I use the SQL S开发者_JS百科erver mode to hold the session data. The problem is that the custom errors page is never ca
I\'ve got the following declared: set :sessions, true and then in my controller, I have: session[$session_id] = user.session_id if save_successful