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

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 1050
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

2
by: The Plankmeister | last post by:
Hi... I'm trying my hardest to understand fully how sessions work and how best to use them. However, all I can find is information that doesn't tell me anything other than that sessions store...
13
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
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
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
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
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...
13
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
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
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...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...

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.