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 does mvc represent in asp.net? : asp.net mvc
Write a code for passing ArrayList in Web API?
Explain the use of errorprovider control in .net?
There is a login page that has two text boxes with required field validators on it. The page has a login and cancel button. How can we ensure that the click on the cancel button doesnt fire a validation event.
Where can i get Latest Microsoft .Net Certification Dumps & what Types of .Net Certifications are there?
Explain repository pattern in asp.net mvc? : asp.net mvc
What are the features of asp.net mvc?
What is different authentication mechanisms used in ASP.NET?
How do you define authentication in Web.Config?
2 Answers Accenture, BirlaSoft, IBM,
Do you support digital rights management to protect my videos?
What are the Types of state management techniques
What tag do you use to add a hyperlink column to the DataGrid?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)