Student Reviews
( 5 Of 5 )
1 review
Video of Asp.net application state real time example Part 68 in ASP.net course by kudvenkat channel, video No. 68 free certified online
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/12/aspnet-application-state-real-time.html
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation1
Slides
http://csharp-video-tutorials.blogspot.com/2013/08/part-68-application-state-variables.html
All ASP .NET Text Articles
http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html
All ASP .NET Slides
http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html
All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenkat/playlists?view1&sortdd
All Dot Net and SQL Server Tutorials in Arabic
https://www.youtube.com/c/KudvenkatArabic/playlists
Application state variables are global, and all sessions have access to them. So, these variables can be used to track the number of users online.
Every time a new user connects to your application, we want to increase the number of users online by 1. Along, the same lines, when ever a user session ends, then we need to decrease the number of users online by 1.
But how do we know, when a new user connects to our application. Session_Start() event is fired when ever a new session is established. When the session ends, Session_End() event is fired. The event handlers are in global.asax file.
By default, the browser instances share the session cookie. To have a new session id assigned, when a new browser instance requests the webform, set cookieless"true" for the sessionstate element in web.config.