How do you do this?

www.magnivate.com

i first thought they were using a socket server for this but
if they were using socket server, i can only login one per ip address right?

but if i open up two different browser, i can log in with two different character interacting each other.

what i really dont understand is, how the character dispears right after the browser closed, without using a socket server.