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

Session_End doesn't fire after uploading new code to live server

I use the session_end in global.asax to perform clean-up of a temporary
shopping cart table. Shoppping Cart items are stored with a session id in
the table, and when a session ends a small rountine checks the shopping cart
table and deletes any stray items.

This has worked a treat for weeks but stopped working today when I uploaded
news dlls and aspx pages to the live server using FTP.

Nothing has changed code-wise and all relevant settings are applied in
web.config.

Is this a known problem? The site in question is very busy and I'd like to
avoid stop-starting IIS id possible.

Kind regards

Ben
Nov 18 '05 #1
3 1409
Hi Ben,
This has worked a treat for weeks but stopped working today when I uploaded news dlls and aspx pages to the live server using FTP.
Offhand, I'd say it has something to do with the new dlls and aspx pages you
uploaded, in that case.
Nothing has changed code-wise and all relevant settings are applied in
web.config.
Then what was in the new dlls and aspx pages you uploaded?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Ben Fidge" <be*******@btopenworld.com> wrote in message
news:ep*************@TK2MSFTNGP10.phx.gbl... I use the session_end in global.asax to perform clean-up of a temporary
shopping cart table. Shoppping Cart items are stored with a session id in
the table, and when a session ends a small rountine checks the shopping cart table and deletes any stray items.

This has worked a treat for weeks but stopped working today when I uploaded news dlls and aspx pages to the live server using FTP.

Nothing has changed code-wise and all relevant settings are applied in
web.config.

Is this a known problem? The site in question is very busy and I'd like to
avoid stop-starting IIS id possible.

Kind regards

Ben

Nov 18 '05 #2
Hi Kevin,

Sorry I wasn't very clear! There was minor changes to some of the pages html
and some small coding changes to the pages. The code in the global.asax
hasn't been changed for quite a while though.

Ben

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Oq**************@TK2MSFTNGP14.phx.gbl...
Hi Ben,
This has worked a treat for weeks but stopped working today when I

uploaded
news dlls and aspx pages to the live server using FTP.


Offhand, I'd say it has something to do with the new dlls and aspx pages
you
uploaded, in that case.
Nothing has changed code-wise and all relevant settings are applied in
web.config.


Then what was in the new dlls and aspx pages you uploaded?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Ben Fidge" <be*******@btopenworld.com> wrote in message
news:ep*************@TK2MSFTNGP10.phx.gbl...
I use the session_end in global.asax to perform clean-up of a temporary
shopping cart table. Shoppping Cart items are stored with a session id in
the table, and when a session ends a small rountine checks the shopping

cart
table and deletes any stray items.

This has worked a treat for weeks but stopped working today when I

uploaded
news dlls and aspx pages to the live server using FTP.

Nothing has changed code-wise and all relevant settings are applied in
web.config.

Is this a known problem? The site in question is very busy and I'd like
to
avoid stop-starting IIS id possible.

Kind regards

Ben


Nov 18 '05 #3
Hi Ben,

Just because you didn't make any changes to the global.asax doesn't mean
that you didn't make any changes that affect your Sessions, which are
available to all of your code.

Here's the thing: Your app worked "a treat" until you performed a specific
action, which was uploading new code to the app. Therefore, the logical
first place to look for a problem would be in the new code you uploaded. In
other words, that is the most likely suspect, and would be therefore, the
first place to look. Always eliminate the most likely first. If that doesn't
work, look elsewhere.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Ben Fidge" <be*******@btopenworld.com> wrote in message
news:#J**************@TK2MSFTNGP14.phx.gbl...
Hi Kevin,

Sorry I wasn't very clear! There was minor changes to some of the pages html and some small coding changes to the pages. The code in the global.asax
hasn't been changed for quite a while though.

Ben

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Oq**************@TK2MSFTNGP14.phx.gbl...
Hi Ben,
This has worked a treat for weeks but stopped working today when I

uploaded
news dlls and aspx pages to the live server using FTP.


Offhand, I'd say it has something to do with the new dlls and aspx pages
you
uploaded, in that case.
Nothing has changed code-wise and all relevant settings are applied in
web.config.


Then what was in the new dlls and aspx pages you uploaded?

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Ben Fidge" <be*******@btopenworld.com> wrote in message
news:ep*************@TK2MSFTNGP10.phx.gbl...
I use the session_end in global.asax to perform clean-up of a temporary
shopping cart table. Shoppping Cart items are stored with a session id in the table, and when a session ends a small rountine checks the shopping

cart
table and deletes any stray items.

This has worked a treat for weeks but stopped working today when I

uploaded
news dlls and aspx pages to the live server using FTP.

Nothing has changed code-wise and all relevant settings are applied in
web.config.

Is this a known problem? The site in question is very busy and I'd like
to
avoid stop-starting IIS id possible.

Kind regards

Ben



Nov 18 '05 #4

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

Similar topics

3
by: Guadala Harry | last post by:
Just wondering if Session_End *always fires* for every Session. I know that IIS times out sessions after a default 20 min (unless changed) and there's no way to know when a user actually closed a...
4
by: news.microsoft.com | last post by:
For some odd reason, session start fires but session_end does not. I am running the web server inproc, the web.config is configured as: <sessionState mode="InProc"...
3
by: MattB | last post by:
Hi. I have a couple of questions regarding the Session_End event. I have some clean-up code in this event and it does fire when the session times out, which is good. I also want to have this (or...
5
by: gce | last post by:
Hi, Every session I make a temp directory using Session("SessieGuid") = System.Guid.NewGuid().ToString Whenever the user presses a button to end everything or when the session.timeout fires up,...
11
by: OldProgrammer | last post by:
All the documentation and discussion I have read indicate that the Session_End is not supposed to fire unless you are in "inProc" Session state mode, and then only on Session Timeout or at Session...
7
by: Bruno | last post by:
We are attempting to automatically log users off from the Session_End event in global.asax and set some values on session_start. It is not a critical task, more of a housekeeping task so that we...
8
by: Roger | last post by:
When I call the session.abandon() method, it calls the session_end event. When a user closes the browser or clicks the log off button, I can dispose of objects and abandon the session cleaning....
12
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
Hi. I am trying to maintain a list of people who are currently "online" in SQL. I do this by adding a simple entry to a simple PeopleOnline table whenever someone logs in to my site. If they...
5
by: Ron J | last post by:
I would like to keep track of users when they are 'on'. On Session_Start I can write a DB record about them, but there does not seem to be session variable information during the Session_end event...
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
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
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...

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.