Whos online and where

PythonPython Forum LeaderThe Royal RAM
I need to write a script which can track which members/guests are online and what page they are viewing.

Do I just, in the users table have a column called `last_location` and then each time a user accesses a page that page would insert the new page location into the db.

the problem though is that this would work with already registered members, just not with guests since they dont have their own fields in the database...

The Royal Ram

Comments

  • tonytony Moderator Administrator
    use the code from phpbb and change it slightly

    i used the code from phpbb changed it slightly and put it on my pages aswel as forums
  • kinkkink serious member VPS - Virtual Prince of the Server
    javascript has that covered even can tell you what browser their using
  • ViperViper Senior Member The Royal RAM
    i would use Java Script!
  • PythonPython Forum Leader The Royal RAM
    I dont want to use javascript simply because of compatability problems. although most browsers to support it there are a few smaller ones which dont.

    If PHP was used then it would be fine...

    I will have a look at the phpBB code tonight.

    The Royal Ram

Sign In or Register to comment.