473,405 Members | 2,261 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,405 software developers and data experts.

Session Data in Session_OnEnd

Hello,

Can anybody explain to me why all the Session data is gone when you
enter Session_OnEnd. From what I can see the only data left is
SessionID. Is there anyway around that?

I was wanting to Update records based on data in the Session. From
what I can tell my only alternative is to create all records in the db
using the SessionID as the lookup code.

Anybody have any better idea's?

Thanks

David Logan
Jul 19 '05 #1
1 1609
You shouldn't be relying on session_onEnd to update data anyway...
http://www.aspfaq.com/2078

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"David Logan" <ib*********@yahoo.com> wrote in message
news:d3**************************@posting.google.c om...
Hello,

Can anybody explain to me why all the Session data is gone when you
enter Session_OnEnd. From what I can see the only data left is
SessionID. Is there anyway around that?

I was wanting to Update records based on data in the Session. From
what I can tell my only alternative is to create all records in the db
using the SessionID as the lookup code.

Anybody have any better idea's?

Thanks

David Logan

Jul 19 '05 #2

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

Similar topics

3
by: Johnd | last post by:
Is there a server-side event that fires when the session variable expires that i can trap and do something with (ie renew the session Variable or say run an asp to update a database) John,
8
by: Rune | last post by:
Hi, I'm developing web surveys where users logon to a web survey and answer up to about 50 questions, one after the other, shown only one question at a time. The answers are saved in a database....
6
by: Hans Kesting | last post by:
Hi, When the Session_OnEnd event fires, do the Session variables still exist? I want to do some cleanup (update some records in a database etc.), but then I need to know *which* recopds to...
3
by: Green | last post by:
Hi, I have a question on how to deal with session expiration. What i want to do is when the session variable expiration, i need to do some database change. How can i do this? I appreciate in...
11
by: Vishal | last post by:
Hello, can anybody tell me how I can extend the session expiry time? Is it done via code or via IIS? Sorry I am new and dont know about this.
11
by: David Thielen | last post by:
Hi; Is there some kind of session ID variable that I can get in the code behind and that is available in Session_OnEnd() to know what session ended? -- thanks - dave...
4
by: abcd | last post by:
When IIS is restarted session_onEnd is called. though the debugger is not available at this point in Session_onEnd, is there any way that the code in session_onEnd is running due to iis restart and...
2
by: buu | last post by:
how could I handle session timeout event in asp.net? I would like to perform some action on database when it happens
5
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
I am using asp.net 2.0 and trace session.start and session.end. Sometimes I found that session.end is not catched. Is it a normal behavior, or why it happens?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.