Click here to Skip to main content
14,667,947 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,
I am using following code in web.config but its not working.
if any idea please help me.

<authentication mode="Forms">
      <forms loginUrl="Login.aspx" timeout="60" />
   </authentication>
   <sessionState mode="InProc" cookieless="false" timeout="60"/>


Thanks.
Posted

Rate this:
Please Sign up or sign in to vote.

Solution 2

You can do that in different ways,

In web.config
<sessionState timeout = "60" mode = "InProc">
Default value must be there as 20

Else you can do that from IIS level
On IIS select the website you want to change the default session time out. Click on "Session State". provide the Time-out(in minutes): as 60
   
Comments
Mukesh Pr@sad 15-Oct-14 23:54pm
   
Thanks
Rate this:
Please Sign up or sign in to vote.

Solution 3

Following code is absolutely correct.
The problem what I found that I was not increasing the timeout in File Zilla From where I have hosted my Project.


<authentication mode="Forms">
      <forms loginUrl="Login.aspx" timeout="60" />
   </authentication>
   <sessionState mode="InProc" cookieless="false" timeout="60"/>


Thanks for ur replies.
   
Rate this:
Please Sign up or sign in to vote.

Solution 1

I did not exactly about this matter, i recently go through this link http://www.javatpoint.com/java-tutorial[^] which help me lot in my work. I thought this link will help you lot.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100