473,513 Members | 2,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why do my sessions keep abandoning??

On www.saes.info, I have set a session timeout of one hour. In the whole
project, there is not one call to Session.Abandon, not even a conditional
one. However, after a few clicks through the site, a new session is created
for me. Obviously, cookies are enabled at my end, even the lowest security
setting.

There is a box labelled "Recently Viewed" at the lower right end of the
pages, and sometimes the box just disappears and sort of re-fills as I
wander through the pages. When this happens, it is an indicator that a new
session has created. Why on earth is that? Anyone had similar problems?

cookieless=true
timeout=60

Nov 18 '05 #1
1 931
Hi Phillip,

Is it possible that your application is restarting? This can happen if
you're in development mode and start/stop debugging which causes your app to
restart. Also any changes made to web.config or a serious crash in the app
can cause a restart. For the latter you can try and hook the
Application_Start and Application_End events in the global.asax file.

You might also consider using the State Service instead of InProc sessions,
which would keep alive sessions even through these above issues.

Just a thought,

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"Philipp Schumann" <ph**@mokka.org> wrote in message
news:er**************@TK2MSFTNGP11.phx.gbl...
On www.saes.info, I have set a session timeout of one hour. In the whole
project, there is not one call to Session.Abandon, not even a conditional
one. However, after a few clicks through the site, a new session is created for me. Obviously, cookies are enabled at my end, even the lowest security
setting.

There is a box labelled "Recently Viewed" at the lower right end of the
pages, and sometimes the box just disappears and sort of re-fills as I
wander through the pages. When this happens, it is an indicator that a new
session has created. Why on earth is that? Anyone had similar problems?

cookieless=true
timeout=60

Nov 18 '05 #2

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

Similar topics

13
12018
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
6
2229
by: Rob Meade | last post by:
Hi all, At work we have 2 servers in a cluster for our web apps. One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server...
3
3690
by: Will Woodhull | last post by:
Hi, I'm new here-- I've been reading the group for a couple of days. Nice group; I like the way n00b33 questions are handled. I've been using a Javascript routine in index.html to determine a...
1
1053
by: Philipp Schumann | last post by:
On www.saes.info, I have set a session timeout of one hour. In the whole project, there is not one call to Session.Abandon, not even a conditional one. However, after a few clicks through the site,...
6
2020
by: Mad Scientist Jr | last post by:
My asp.net pages sessions are timing out after 20 minutes, and when I asked my Web host about it they said due to the nature of a shared hosting environment they cannot allow for sessions to keep...
2
1540
by: Gucci | last post by:
I need to realize such an effect. if one user has login, the session will keep until he logout. but if i change the set of session.gc_maxlifetime it will take too much system resource. i plan...
13
35903
Frinavale
by: Frinavale | last post by:
One of the most fundamental topics in web design is understanding how to pass information collected on one web page to another web page. There are many different ways you could do this: Cookies,...
3
28194
Atli
by: Atli | last post by:
Introduction: Sessions are one of the simplest and more powerful tools in a web developers arsenal. This tool is invaluable in dynamic web page development and it is one of those things every...
41
3184
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to...
6
5648
by: laredotornado | last post by:
Hi, When a user logs into our site, we create a session variable to denote the session is active and another to denote who is logged in. Once the user closes the browser and re-opens it, the...
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
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,...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5697
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.