Jun 29, 2000, 3:16 AM
Post #2 of 3
If your pages are simple HTML, you could insert an SSI tag (assuming your server supports it) to show the current status of a tutor.
Re: E-Tuition/Online Status Indicator
[In reply to]
This tutor is <!--#include virtual="/cgi-bin/tutor_status.pl?this_tutor" -->
in your HTML page, enable server-side parsing (maybe renaming your .html files to .shtml is enough - check the server config), and write a little tutor_status.pl script that reads the status from a file and returns 'on-line' or 'off-line'.
The tutor will need access to another script that sets his status to 'on-line' or 'off-line', of course. And make sure tutors actually go 'off-line' too