Well, it won't be real-time, since that is something else. As SA stated, there is no real-time on the web. There is no real-time if not all components of the system - including all OS and network fulfill some criterias.
But, you can achieve what you described. As SA stated, there are two approaches to send information to an other party: push and pull. Web is "pull" by default - since http is stateless. Still, there were interesting initiatives to implement push approach even before html5 - to have http connections kept open (see:
http://en.wikipedia.org/wiki/Comet_(programming)[
^], Gmail used to use such an approach). With html5, you have WebSockets.
And if for some reason none of these work, you still have the plain old scheduled ajay query.
Well as there can be many parties between the client and the server, you have to take into account a considerable latency in any case. So it won't be real-time.
Still, if you want to feel alike, you can have it. And if you don't want to code yourself all alternatives, here you have the tool you can use for sure:
http://signalr.net/[
^]