Session state has several storage options, Session state modes are
1) InProc: It stores session state in memory of a web server. This is by default set in web.config.
2)StateServer: It stores session state in seperate process, means ASP.net state service.
3)SqlServer: session state stores in SQL server database.
4)Custome: Store session state in custom storage provider.
5)Off: By setting mode="Off", it disables the session state.
Asked In: Many Interviews |