473,383 Members | 1,818 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,383 software developers and data experts.

Session Time Out Problem

Joe
Hi,

I am facing a session Timeout problem on an ASP.NET project. The .NET
project is deployed on a Windows server 2003 machine. Users connect to this
machine to access the application. From time to time, users are
disconnected(unspecified period of time but less than the maximum timeout
problem which in our case is 60 minutes) from the program due to a session
Timeout problem.I have made some tests on the machine and noticed that the
problem is not from memory because the system doesn't run out of
memory.There is always at least 400 Mbytes of free memory on the system. So
i guess that the problem is not from memory.

I would like to know and if anyone has some suggestions concerning this
problem about some additional configurations that must be taken to solve the
problem.

Joe


Mar 9 '06 #1
3 1267
It sounds like the ASP.NET application is restarting. There could be many
reasons for it - someone is updating files, changing web.config, anti virus
is running and causing a restarts, etc.

"Joe" <do****@softhome.net> wrote in message
news:e6**************@TK2MSFTNGP12.phx.gbl...
Hi,

I am facing a session Timeout problem on an ASP.NET project. The .NET
project is deployed on a Windows server 2003 machine. Users connect to
this machine to access the application. From time to time, users are
disconnected(unspecified period of time but less than the maximum timeout
problem which in our case is 60 minutes) from the program due to a session
Timeout problem.I have made some tests on the machine and noticed that the
problem is not from memory because the system doesn't run out of
memory.There is always at least 400 Mbytes of free memory on the system.
So i guess that the problem is not from memory.

I would like to know and if anyone has some suggestions concerning this
problem about some additional configurations that must be taken to solve
the problem.

Joe

Mar 9 '06 #2
have a look at your application server logs look for anything odd in there -
app pool recycles for instance.

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Joe" <do****@softhome.net> wrote in message
news:e6**************@TK2MSFTNGP12.phx.gbl...
Hi,

I am facing a session Timeout problem on an ASP.NET project. The .NET
project is deployed on a Windows server 2003 machine. Users connect to this machine to access the application. From time to time, users are
disconnected(unspecified period of time but less than the maximum timeout
problem which in our case is 60 minutes) from the program due to a session
Timeout problem.I have made some tests on the machine and noticed that the
problem is not from memory because the system doesn't run out of
memory.There is always at least 400 Mbytes of free memory on the system. So i guess that the problem is not from memory.

I would like to know and if anyone has some suggestions concerning this
problem about some additional configurations that must be taken to solve the problem.

Joe

Mar 9 '06 #3
Check your cookies If there is over twenty they will overwrite session
variables unless you use cookieless session state which can be configured in
the web config file. Or better yet just use session variables.
--
Buliwyf
"Marina Levit [MVP]" wrote:
It sounds like the ASP.NET application is restarting. There could be many
reasons for it - someone is updating files, changing web.config, anti virus
is running and causing a restarts, etc.

"Joe" <do****@softhome.net> wrote in message
news:e6**************@TK2MSFTNGP12.phx.gbl...
Hi,

I am facing a session Timeout problem on an ASP.NET project. The .NET
project is deployed on a Windows server 2003 machine. Users connect to
this machine to access the application. From time to time, users are
disconnected(unspecified period of time but less than the maximum timeout
problem which in our case is 60 minutes) from the program due to a session
Timeout problem.I have made some tests on the machine and noticed that the
problem is not from memory because the system doesn't run out of
memory.There is always at least 400 Mbytes of free memory on the system.
So i guess that the problem is not from memory.

I would like to know and if anyone has some suggestions concerning this
problem about some additional configurations that must be taken to solve
the problem.

Joe


Mar 9 '06 #4

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

Similar topics

30
by: Robert Tweed | last post by:
Does anyone know a good resource discussing the issues involved in session theft? I've read a couple, but none that really address the problem apart from acknowledging that it is a problem; you...
3
by: Craig Storey | last post by:
I have a form where users logged in using sessions can edit articles in a WYSIWYG editor. Some of them take their time and don't like to save their work very often and occassionally the sessions...
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...
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...
13
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
7
by: Mr Newbie | last post by:
I have written a Custom Control Menu. Its fairly simple but it works well enough. In order to simplify things I decided to store the Menu1 custom control in Session. In the page load event below,...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
9
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...

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.