You are not logged in.
It uses XMLHttpRequest object to asynchronously update the status.
You can do it in C, browsers do it all the time, but it's easier to use an
existing HTTP library, either a C one or one for a higher level language
EDIT: As far as the server-side goes, I think it just looks like a normal
HTTP request, mostly, but with something else than HTML returned.