What is the use of sessionstate tag in the web.config file?
Answers were Sorted based on User's Feedback
Answer / p.ramakrishna
Configuring session state: Session state features can be
configured via the <sessionState> section in a web.config
file. To double the default timeout of 20 minutes, you can
add the following to the web.config file of an application:
|Is This Answer Correct ?||7 Yes||0 No|
Answer / 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|
what to magage the state manament in asp.net with respect to in_prock and out_prock
what is usercontrol how we can use acess the controls that are present in the usercontrol in the aspx page suppose we have 2 text boxes in a user control how u can acess the 2 textboxs in the aspx page
How to stop the inheritance?
Types of optimization and name a few and how do u do?
What is the need of client side and server side validation ?
When is an object collected by the Garbage Collector? [Four options were given]
What is the difference between Proxy and Contract?
can we transfer data from one page to another page using viewstate if so how?if not y?
.net allows which inheritence
define silverlight and advantages ?
WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS.
Can the validation be done in the server side? Or this can be done only in the Client side?