What is the use of sessionstate tag in the web.config file?
Answer Posted / eduardo belmonte
SessionState tag is used to define session attributes.
One very important is Mode which can have values: "state
server", "SqlServer", "InProc"; depending how you want to
preserve session state.
"State server" is used if you want the state to be
preserved in other server.
"SqlServer" is used if you want the state to be preserved
on a SQL database.
"InProc" is used if you want the state to be preserved in
the same process where the asp.net page is running.
Other attributes that are also included for the
SessionState tag are: ConnectionString,
SqLConnectionString, userId, password, cookiless, tiemout.
if the session state is going to be preserved in other
server, or can be ""SqlServer" if session state is going to
be preserved in a SQL database
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is a user developed application?
Explain State management in asp.net
How to rename a table using sql queries?
List all templates of the repeater control.
What are the page life cycle events?
What is enableviewstate?
Can you explain architecture of your project ?
What is autopost?
Describe paging in asp.net?
Can more than one person use the same login?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Define globalization and localization.
What is the difference between abstract class vs interface? Can give me the real time examples?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?
in which protocol ASP.NET WEB API Work?