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
how can create login from create and written conde in asp.net
What is the typical session identifier?
Explain managed code an un-managed code.
What is connection pooling and how to enable and disable connection pooling?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
Explain form level validation and field level validation?
Explain the differences between clr & cts?
How ViewstateMac works?
When Cookies are expired in ASP.NET?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
What are the event handlers that can be included in the Global.asax file?
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
What is difference between abstract class and an interface?
Explain the difference between webfarm and webgardens in .net?
Explain authorization levels in .net ?