How can i get latest fresh data from server if in server happened new event (for exemple there are 2 users x,y and x send message to y and y get message without refresh page like fb chatsystem ) ?
I dont want to use setInterval because it repeat all message again and again.
phoenix254
0
Junior Poster
pixelsoul
272
Red Pill
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.