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

I am trying to increase my session time. for that I did following things

1)I set the Session.TimeOut=60; in Code behind

2)I also set the value in web.config file
using the <sessionstate timeout="60"> in <system.web> section

3)I also set the value in IIS server for my site

4) I aslo set the session time out value in global.asax file on the session_start event

But none of the approch is working

My authentication method is windows
and I am working in Asp.Net 2.0 and My server is IIS 7.0

I don't know what is going wrong


any response will appreciated


Thanks
Posted
Comments
Hiren solanki 18-Jan-11 2:03am    
Ok Let me see if I can find anything for you.
Sandeep Mewara 18-Jan-11 3:29am    
Share the web.config code that you put for session timeout.

It could be the case of your Application Pool getting recycled. If multiple application sharing the same application, try to create a new application pool for your current application and test your application.
Also, try to check in Event Viewer for reason of Application Pool
 
Share this answer
 
Comments
Indresh1210 18-Jan-11 4:22am    
Thanks buddy I will check it and let you know what happen
Abhijit Jana 18-Jan-11 4:41am    
Yes. Please let me know, I may help you on this case !
See the Answer HERE[^] given by Kalyan.
 
Share this answer
 
Comments
Indresh1210 18-Jan-11 2:02am    
Hi Hiren I all ready read that answer I set the time in IIS but it is still not working is there any way to set session time in my application rather than IIS server
Manfred Rudolf Bihy 19-Jan-11 16:11pm    
You must have irritated somebody really well Hiren!

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