Running a program on connect/disconnect?

Chris Thomas cst "at" andrew.cmu.edu
Fri Jan 21 07:15:02 2005


Is there a way to run a program when somebody connects and another 
program at disconnect?  I'd like to prompt users for information when 
they connect, in order to update a web page automatically, and reset the 
page once the user disconnects.  This is on windows.

Thanks,
Chris Thomas