Doen at the bottom of the main screen of the forum, there is a feature that allows you to see what other users are doing. Is there a way to add pages to this? I have a javascript applet on my site that I'd like to know when people are running.

How would the PHP code know when the javascript applet terminated, in order to remove the record in the fud_ses table?

I am guessing the fud_ses table probably expects uid to be unique, that the system expects each user can only be doing one thing at a time. This makes my idea a bit more complicated since the java applet runs in the background. The user will continue to do things in FUDforum while the java applet runs.

How would the PHP code know when the javascript applet terminated, in order to remove the record in the fud_ses table?

It won't, unless you implement an AJAX callback.

Tesla Rider wrote on Mon, 29 June 2009 20:46

I am guessing the fud_ses table probably expects uid to be unique, that the system expects each user can only be doing one thing at a time. This makes my idea a bit more complicated since the java applet runs in the background. The user will continue to do things in FUDforum while the java applet runs.

The function will clear the user's previous action and updates the table with the user's new action.