05242007 1508 GMT-6 You didnt say so Im going to guess you used cookies to track them. You could use sessions and when the session is broke you could have that mailed to them. Are you using some type of javascript to keep track of the time or are you using a php function to do that -> logged in time - session destroyed time = total time.... something like that?
wade On Thu, 2007-05-24 at 11:05 -0500, Michael Sullivan wrote: > Last year, I wrote a web interface for my school's annual music > festivals. This web interface allowed participating directors to > register their students via a website over the internet. At the end of > a director's session, they were supposed to hit a LOGOUT button which > would email them the logs of the current session. Also, if they tried > to submit information via the interface after 30+ minutes of inactivity, > they would be automatically logged out and the current session logs > would be emailed to them. The problem is that most directors just > closed their browser window without using the LOGOUT button, therefore, > their logs were not emailed to them. I want to write a server that > would keep track of currently logged-in directors and how long they've > been inactive, so that after thirty minutes had elapsed, it would email > them their current session logs without them having to use the logout > button. Could PHP be used to make calls to such a server? > -Michael Sullivan- > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > Yahoo! Groups Links > > > >
