Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

to Link9

Status
Not open for further replies.

schase

Technical User
Sep 7, 2001
1,756
US
Hey Link,

Think my post kind of got lost in the shuffle of posts regarding thread333-225367 logging in part works great, and I have it so if someone clicks logout it will also change the onlin_status to zero.

But the Sesson On End doesnt seem to fire.
I have this



sub Session_OnEnd()
dim sql,con
set con=server.createObject("ADODB.Connection")
con.open connectionString
sql="UPDATE Membersragol SET online_status=0 WHERE UserID="'& session("MM_Username") & "'"
con.execute sql
set con = nothing
end sub

And I know MM_Username carries on to another page (I call for it on another page).

But nothing

Any ideas?
Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top