session-state
How to protect cookies from an attack
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[详细]
2023-03-19 00:59 分类:问答Asp.net session variable timeout
I\'m using asp.net (.net 4.0) on iis6, and have a sessionvariable that is gone after about 20-30 mins.[详细]
2023-03-18 16:32 分类:问答IsPostBack always returns false
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[详细]
2023-03-18 13:43 分类:问答Maintaining session after browser is closed
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?[详细]
2023-03-18 00:57 分类:问答Why is no error coming while storing session in SQL Server?
I ran InstallSqlState.sql from .Net Framework 4.0 directory in Sql Server. Then I configured Sql session using this:[详细]
2023-03-17 15:35 分类:问答Store linq-to-sql objects in session, or alternate solution
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[详细]
2023-03-17 04:26 分类:问答How to determine Asp.Net Session Length
The SessionState time out value can be configured via the web.config <sessionstate timeout=\"x\"/>[详细]
2023-03-16 19:24 分类:问答Session state to use only one user
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.[详细]
2023-03-15 16:59 分类:问答How to Reach the Custom Errors page in ASP.NET when Session State Provider is Down?
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[详细]
2023-03-15 04:50 分类:问答Sinatra sessions - why is what I put in different from what I get out?
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[详细]
2023-03-15 03:54 分类:问答