C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Seesion timeout need to be extend


Posted Date: 03 Nov 2009      Posted By: rohith      Member Level: Bronze     Points: 1   Responses: 3



hi,
I am using asp.net with C#,In my Application if system idle for 20min then session timeout appear... so i need to extend my application session time.

can u give solution with steps





Responses

Author: jananeekar    03 Nov 2009Member Level: SilverRating: Revenue Score: 0     Points: 0

Modify your web.config file shown as below....this will work

<system.web>
<sessionState timeout="20"></sessionState>
</system.web>
change timeout to say 40 mins...
<system.web>
<sessionState timeout="40"></sessionState>
</system.web>



Author: rohith    03 Nov 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

can u give other than this solution.....


Author: ShashiKant Gupta    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

you can use a update panel with timer inside it

after a particular time period, send some small request to server through timer control, this will make the session active and you can control when you can kill the session and untill when you want it alive, through application.

if you want a static time increase then web.config setting is the best and simplest option.



Post Reply
You must Sign In to post a response.
Next : In asp .net repeater control pass commandargument OnItemCommand
Previous : Height Attribute
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use