Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

When I tried to open my webpage online it comes out or I can't login. After trying 2-3 times then it successfully login but after few time again timeout.

I added below line in a web config.
XML
<sessionstate mode="InProc" statenetworktimeout="120" sqlcommandtimeout="120">
</sessionstate>

Thank You
Seema
Posted
Updated 11-Jan-11 21:24pm
v2

1 solution

Hi use following in web.config file
XML
<configuration>
  <system.web>
     <sessionState timeout="20"></sessionState>
  </system.web>
</configuration>


Thanks,
Imdadhusen
 
Share this answer
 
Comments
Seema Gosain 12-Jan-11 5:32am    
:( I tried but still same issue.

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