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:
<sessionState
timeout="40"
/>
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 is Auto-event wireup? what is the default value for this? when u change the value what will happen?
How to Page Execute in asp.net(inside browser)
How to handle error while project running on live
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
0 Answers Sans Pareil IT Services,
what are the types of ASP objects ?
Can session variables be accessed from code-behind?
What is a form tag?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is considered a service provider?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
What is interval time of GC in .net
What is difference Between Authentication and authorization?