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 the exact purpose of http handlers?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
Contrast the use of an abstract base class against an interface?
What is the lifespan for items stored in ViewState?
what is view state and its use
10 Answers DELL, Efextra, HCL,
Explain the purpose of storyboard.targetproperty.
What are PDBs? Where must they be located for debugging to work?
What are standard controls?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....
How can you apply a theme to your asp.net application?
Can session variables be accessed from code-behind?