How to get Session Data with out having HttpContext.Current, by SessionID
I am searching to find a way to read and write on session data but with out having the HttpContext. Current.
I am searching to find a way to read and write on session data but with out having the HttpContext. Current.
I run a site with decent traffic (~100,000 page views per day) and sporadically the site has been brought to its knees due to SQL Server timeout errors.
currently we are using Sessions to store datatables in our pages so that we don’t have to make Database hits to get the same datatable again and again. But my worry is that it is using the server memory and if large number of users login some day, the response of the server will become slow and our application might crash as well.
I am trying to get a real-time chat service for cross-platform devices to life. The problem is that
System.Net.WebSockets namespace doesn’t allow me directly to keep track of an established connection. I could take a sessionID of the current connection but how can I say perform the following action await socket.SendAsync(buffer, WebSocketMessageType.Text, CancellationToken.None) for a specific client?
Is it possible to hack someone’s session variables and create a new shadow user?
I have an ASP.NET MVC application (say, App_A) and another ASP.NET application (say, App_B). App_B has an iframe that loads App_A within it.
Do ASP.NET Session[string key] data need to be encrypted to be secure?
I have used ASP.NET in mostly intranet scenarios and pretty familiar with it but for something such as shopping cart or similar session data there are various possibilities. To name a few:
I’ve made one Asp.net MVC website, and I’m very confused between the different timeout settings.
In a little demo application that I’m building I put code to initialize the database in the Global.Session_Start() event. However, I notice that this event does not fire when I’m running through the app in the debugger on the development server (haven’t tested it anywhere else yet).