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"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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
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