تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Asp.net session state Part 62 ضمن كورس ASP.net شرح قناة kudvenkat، الفديو رقم 62 مجانى معتمد اونلاين
Text version of the video
http://csharp-video-tutorials.blogspot.com/2012/11/aspnet-session-state-part-62.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-62-aspnet-sessionstate.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
Different techniques to send data from one webform to another
1. Cross Page Postback: Discussed in Part 55 and Part 56
2. Context.Handler object - Discussed in Part 58
3. Query strings - Discussed in Part 59
4. Cookies - Discussed in Part 60 and Part 61
5. Session state - Will be discussed in this session
The following concepts will be discussed in the subsequent sessions
6. Application state
Just like Query strings, Session State variables can also be used to send data from one webform to another.
Points to remember about session state variables:
1. Session state variables are stored on the web server by default, and are kept for the life time of a session.
2. The default session state mode is InProc. We will discuss about different session state modes in a later video session.
3. The life time of a session is determined by the time-out value in web.config file. The default is 20 minutes. The time-out value can be adjusted according, to your application requirements.
4. Session state variables are available across all pages, but only for a given single session. Session variables are like single-user global data.
5. It is always a good practice to check, if a session state variable is null before calling any of its methods, such as ToString(). Otherwise, we may run into runtime NullReferenceExceptions.
if (Session["Name"] ! null)
{
lblName.Text Session["Name"].ToString();
}
6. Application performance can be improved by disabling session state, if it's not required. Session state can be turned off at the page or application level.
a)To turn of the session state at the page level, set EnableSessionState"False" in the page directive
b)To turn of the session state at the application level, set SessionState modefalse in web.config file.