ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 300,360 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,703 people online right now. Registration is fast and FREE... Join Now!




Session Time out Problem in Asp.net Application

 

Session Time out Problem in Asp.net Application

AshishKumar_Gupta

2 Jul, 2009 - 05:36 AM
Post #1

New D.I.C Head
*

Joined: 19 Jan, 2009
Posts: 27

Hi all,

I want to expand session time out in my web application i already did the following work in my application
1.I have added timeout in web config file.
2. All connection have been closed.
3. form authentication tag in web config file and given time out here also.
4. Given session time out in global.asax in session start method.

Now still i'm getting timeout problem.
Plz help me its very Important for me.

Thanks in advance smile.gif

This post has been edited by AshishKumar_Gupta: 2 Jul, 2009 - 05:36 AM

User is offlineProfile CardPM
+Quote Post


CamoDeveloper

RE: Session Time Out Problem In Asp.net Application

2 Jul, 2009 - 05:59 AM
Post #2

D.I.C Head
Group Icon

Joined: 12 Jun, 2009
Posts: 204



Thanked: 12 times
Dream Kudos: 200
My Contributions
  • Increase the timeout in web.config
    <sessionState mode="InProc" cookieless="UseCookies" timeout="60" >
  • Change the time-outs in IIS. Choose a value greater than the value you require. (The default session time-out setting on IIS is 20 minutes but it can be increased to a maximum of 24 hours or 1440 minutes)
    1.Select your Web Site > Properties > Home Directory > Application Settings > Configuration > Options
    2.Enable the session state time-out and set the Session timeout greater than you set in web.config
  • Increase application pool's Idle timeout
    1.Application Pools > yourAppPool > Properties > Performance
    2.Under Idle timeout, set Shutdown worker processes after being idle for a value higher than you set in web.config.

    Hope this helps.

    ~Camo

User is offlineProfile CardPM
+Quote Post

AshishKumar_Gupta

RE: Session Time Out Problem In Asp.net Application

4 Jul, 2009 - 11:06 PM
Post #3

New D.I.C Head
*

Joined: 19 Jan, 2009
Posts: 27

ok dear first let me set all above settings then i'll give u response.

Thanks smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:50PM

Live ASP.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month