hi thr
Can any one say me the basic concepts for implementing chat in my web page
thanks in advance
Happy day
start with understanding comet.
let say user1 wants to chat with user2. now flow will be like this:
1. user1 will type message and send it - this you can do by simple http ajax request, send message to server using ajax.
2. now server will get message from user1 and send to user2, here lies the problem, for this, you need to use server push technology. for which i have given the article above.
3. message will be shown to user2.
Note: here i have not mentioned the complexities involve in signing in by user1 and user 2, creating account etc.
Hi
Is thr any possibility without using ajax
without ajax it will be no more a chat application, because using ajax you will be sending data to server in background. why you dont want to use ajax?
No No not like that. The fact is i dont know ajax. hmmmm.
ya.. doing the same.. tnx a lot.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.