Posts: 485
Location: world traveller based in UK
|
I have put together a forum for a customer - or am trying to. its not very sophisticated quite simple but i have some queries related to what i have seen here.
At the moment on my forum if you click top post a message it checks if you are logged in by looking for a cookie that is created when you log in. that cookie expires when your session ends. not that i pretend to understand how it knows that but hey.
if you stay inactive for a while it has the same effect as logging you out.
Can i check to see how many users are logged in? & which users are logged in?? how do i do that? i can't work out how i would work that out unless as well as creating a cookie it creates an entry in a text file which i can read back out of & when they log out or expire then i destroy that entry. ??? how do i achive that?? does it have to be a text file can it be a table in access???
advice or feedback appreciated.
also i have all this user info that is in a different table to my forum info & i want to display some of it when a user posts a message like their location & name etc. should i write these into a cookie & retrieve from there or can i retrieve & write from two recordsets at the same time ??
again help, feedback appreciated
tonya
|