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
Define repository pattern in mvc.net? : asp.net mvc
What is the life cycle of an asp.net page?
Is razor a programming language?
What is hidden field in asp.net?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What events will occur when a page is loaded?
Why cyclomatic complexity is important?
Define session in asp.net.
What is diff. Between abstract class and an interface?
how to include timer or counting time to display next page in asp.net
Define data caching?
What are the ways to sending the data in ASP.NET page?
What is a server farm in iis?
Explain what is an abstract class?
What do you understand by aggregate dependency?