You are on page 1of 4
InPore asp.net session state mode ‘Asp.net session state mode can have any of the following 4 values. Session state mode is eau ie Seago Pee et ete The following session state modes will be discussed in a later video session. aoe a ceo Exe De eee eee Cee Ga web server memory inside the asp.net worker process. This is the default session state ees i cs Web Garden -Web application deployed on a serverwith multiple processors Web Farm-Web application deployed on multiple server rs) [PRAGIM Technologies | 9900113931 | www pragimtech.com | www Peo eau ie ee ee aa Ro eile Ne ete Ue Cu Sun Cu ek LLU RO ae tO RT Coe CUE Raa Cee UE Cee Minette) Session state datais lost, when the worker process or application pool is recycled. De SC os cae Reet eee The life time of a session is determined by the time out value in web.config ile. The defaultis 20 minutes. The time-out value can be adjusted according, to your application es Beene see eet aoe is) session. Session variables are like single-user global data. Itis always a good practice to check, ifa session state variable is null before calling any Ce ew Mn om CU aro ee enter Doe ec Ma ee ee te eu et et CC Reena aed eeu Cree eure eect) iy Rese ie Difference Mero Ne Ree Ce ee oct] 2. ViewState is stored on the page in a hidden field called _ViewState. Because of this, the ViewState, will be lost, if you navigate away from the page, or ifthe browser is Cee ER eee ico tea Oe uit ree ne BSc od Sen ee eet re Cu oe nd session. Session variables are like single-user global data. ee te re eas 3. Session state variables are cleared, when the usersession times out. The default is 20 DT aoe tee ied Application State: Bee ee ee cu ect oe Eee en een eed canes 2. Application State variables are stored on the web server. 3. Application State variables are cleared, when the process hosting the application is econ RONEN a od methods are automatically wired with the respective events. If this property is set to false, DU ge be ee Reed CS PRU en Ls eh UT DL with their events automatically, the event handler names should follow the standarad Dee Lee Te ee te eu ene iets ee eeu inuration system web pages eutoEventlireupe” system. guration Pete en eam acr DoT ee Rr ed Dee am Pierre aie eo Corey Ceo a ec) ina process, called as asp.net state service. This process is different from the asp.net worker process. » PE ree ae CU ae ed Pe aieatek cian neu aed

You might also like