473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Session Timeout Problem

Hi all,

We have developed a web application using ASP.NET v1.1 (with C#). It's nearly 18 months that our application is in use with almost 10-15 simultaneous users. In the last 3 months we have encountered a grave problem with session timeout. We have set the timeout value to 20 minutes, but sessions expire earlier than expected, even when users are not idle for this period. (We have designed a page that is called in Session_End method, so that user is informed of the situation)
We've been using the InProc mode for SessionState and according to some articles on the internet, it seems that when the process w3wp.exe recycles, the sessions are lost. So we tried StateServer, but it doesn't seem to make any difference. We're really desperate finding a solution to this problem. Would you please give us some hints on how to detect the reason for the inopportunate calling of Session_End in Global.asax? We're in urgent need of a solution.

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Aug 18 '07 #1
2 1246
Maryam,
this is an ASP.NET question, not a C# language question.
You can post the ASP.NET group online here:
http://msdn.microsoft.com/newsgroups...k.aspnet&fltr=

If your Sessions are bombing out, its probably because your app is being
recycled by IIS.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"Maryam Darroudi" wrote:
Hi all,

We have developed a web application using ASP.NET v1.1 (with C#). It's nearly 18 months that our application is in use with almost 10-15 simultaneous users. In the last 3 months we have encountered a grave problem with session timeout. We have set the timeout value to 20 minutes, but sessions expire earlier than expected, even when users are not idle for this period. (We have designed a page that is called in Session_End method, so that user is informed of the situation)
We've been using the InProc mode for SessionState and according to some articles on the internet, it seems that when the process w3wp.exe recycles, the sessions are lost. So we tried StateServer, but it doesn't seem to make any difference. We're really desperate finding a solution to this problem. Would you please give us some hints on how to detect the reason for the inopportunate calling of Session_End in Global.asax? We're in urgent need of a solution.

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Aug 18 '07 #2
we've ever encountered the same problem months ago. We didn't solve
properly, so we changed to Cookie for state storage.
You may think about encrypted cookie.

Aug 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
5
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the...
5
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
2
by: Rajesh.jain25 | last post by:
Hi, I am facing a problem of automatic session timeout problem and automatic session_end event fired. Case1: As I have analyzed I get to know that the default session timeout is 20 in...
2
by: Tomas Martinez | last post by:
Hi, Well, my problem is so simple as it says in the subjet but very frustrating also. I have a project and it is losing the session variables with each postback, so I downloaded from the web a...
2
by: Orgil | last post by:
I'm using ASP 3.0 however there is ASP.NET, because I'm working an old site that is built in ASP 3.0. I hope you for getting any help for my problem from you. So, my site's sessions are empty...
4
by: thig95 | last post by:
Hi, I've got a web application written in ASP class with VBScript. We have a home grown conctact management system for my company that our users stay active in throughout the day. My problem lies...
6
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.