Because of the stateless nature of HTTP, you can't really do it. You could do something like put a ActiveX control or Java Applet on a page that maintains a connection with an app on the server, and then it could be notified of events.