Session_End dilema

  • Thread starter Thread starter george d lake
  • Start date Start date
G

george d lake

Hi,
When the session times out, I need to know what users was the one that
timed out.
Cant use a session var, cant use cookies.
Any idea?
 
Try using the Session_End event procedure in the global.asax to capture the
Current.User.Name
 
Why can't you use a session variable? In the Session_End function,
UserLeaving = Session("UserName"). You don't need cookies to maintain
session variables, the server can go by the client IP to remember who's who.

Steve
 
Ok, but what happens when the session times out, there is no user info and
all session var get killed. Or am I missing something?
 
No clue what I did different now, but it works with sessions.

As I said in the morning on a different post
"Some days........
went to bed late last night changing the breaks on my wife's car.....
Note to myself : Do not mix intensive manual labor with creative thinking
within a 24 period with out a good nights sleep."
 
When the Session times out, the Session_OnEnd event fires. :)

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top