Click here to Skip to main content
16,018,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
when i am writing
<sessionstate mode="Inproc" timeout="2"></sessionstate>
into web.config file then it is showing unrecognized session state error.
Posted
Comments
Sachin Gargava 14-Aug-12 8:17am    
Please make sure that you place it under system.web section and not directly under configuration section.

I think the problem with the property case sensitive try to use the following way, sessionState mode="InProc" timeout="20". Hope it will solve the problem.

If you are still facing the problem then take a sample application then it default display some of the properties like sessionstate and all. Try to copy it from there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900