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
Does web services support data reader like pom project?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
Define the term Web Garden?
Can a .net web application consume java web service?
How do you declare static variable?
How Session outproc in Sqlserver stored?
Explain different types of Caching techniques in ASP.NET?
What is asp.net used for?
How many types of cookies are there in asp.net?
What are the asp.net security controls?
What is the question mark in a url?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
Define cookie.
Write some code using interfaces, virtual methods, and an abstract class`
Differentiate the session object and application object?