A comet chat technique in php using ajax for long polling