Thread: need asp help
Results 1 to 6 of 6
11-10-2002, 11:44 PM #1
need asp help
i have a new website at http://www26.brinkster.com/ and i'm wondering how this website tells when someone is logged on. currently i'm updating a field in an access database when someone logs on, but it's unreliable as if the user doesnt log off then the field does not get updated. when the user logs on, the username is stored on a session, but i haven't figured out a way of displaying logged on users. any help would be appretiated.
11-11-2002, 02:06 PM #2
Heres a decent 'users online' script, uses a database and Global.asa -
the advantage being that a session starts by default in Global.asa , so you don't have to rely on them loggin in/out.
11-11-2002, 10:33 PM #3
thanks a lot. checking it out
11-11-2002, 11:58 PM #4
dang, the free host i use, www.brinkster.com doesnt support global.asa
how do i check if a session is still alive?
does <%if session.sessionID = 12%> work?
11-12-2002, 12:50 PM #5
I think its -
<% if Session("SessionID") = "12" %>
Brinkster is very good, btw.
11-13-2002, 01:33 AM #6
thanks a lot!
will give it a go