Forum Index
Search Forum
Register
Log in
Current
7.0 Production build 6 Mar '07
7.1 Beta 5 build 7 Oct '07
A donation makes a contribution towards the time and effort that's going in to running this site.
Steffen
Contact: My mail address is at the top of the paypal form :
Your donations will help to keep this site alive and well.
|
| View previous topic :: View next topic |
| Author |
Message |
PaulnOZ

Joined: 12 Oct 2010 Posts: 16 Location: Brisbane, Australia
|
Posted: Tue 12 Oct '10 12:11 Post subject: User login timeout |
|
|
Sorry, but I'm still using version 4 (will upgrade one day)
But I'm wondering if there's any way to see if a user is logged in or not without having to be logged in as admin.
IE: RCEnumusers tells me how many logged in users there are, but there doesn't seem to be a list of logged in usernames, I can't see WHO is logged in.
I currently use a separate database to do this for me which works fine when they login or logout but if they timeout, I have no idea how to update my database that they're gone.
Does the timeout fire an event I could catch or I'm I going to have to run my own separate cron event to keep checking their status, and if so how can I check a users status?
If version 7 has all these issues sorted cool I'll upgrade, however, from what I've read I'm not so sure.
Anyways many thanks, it's always great to catchup with old friends, haven't posted here for years, thanks Steffen for keeping it up.
Paul Romer
Brisbane, Australia |
|
| Back to top |
|
PaulnOZ

Joined: 12 Oct 2010 Posts: 16 Location: Brisbane, Australia
|
Posted: Fri 15 Oct '10 8:00 Post subject: Doh |
|
|
It just dawned on me to use state variables. I can't believe it took me this long to figure out something so simple. Oh well, better late than never.
Incase anyone is wondering, state variables <RCS>, as apposed to normal or template variables <RC$>, stay set only while the user is logged in. Simply test a set state variable for NULL, if yes then they're logged out.
Anyways,
Hello..............Hello..............Hello....................echo!
empty room?
Paul |
|
| Back to top |
|
PaulnOZ

Joined: 12 Oct 2010 Posts: 16 Location: Brisbane, Australia
|
Posted: Tue 19 Oct '10 11:52 Post subject: |
|
|
This solution doesn't work of course, because there's no way to test anybody else's state variables.
Oh well, back to the drawing board.
Now looking at version 7 docs & sql login |
|
| Back to top |
|
PaulnOZ

Joined: 12 Oct 2010 Posts: 16 Location: Brisbane, Australia
|
Posted: Fri 03 Jun '11 10:46 Post subject: |
|
|
I believe what I'm looking for can be found in the "Security Overview" section of the server documentation.
Just answering my own question for future readers. |
|
| Back to top |
|
|
|