Hello.
I did it once.
Generally, you need a class. Something like this:
public class Message
{
public string Text{get;set;}
public bool IsRead{get; set;}
public User FromUser{get; set;}
public User ToUser{get; set;}
public DateTime SentTime{get; set;}
}
You also need a Timer Control (
Look here) to send requests each seconds. (Getting the newest messages)
Use
Application State to send Message
You need
AJAX to update the page on background because if you don't then your page will be upgrading while you are typing a message.
The program should process the
Application state
(I suggest a
List<Message>
) and users should be able to see their related messages.
If you want to send all messages to one person (ADMIN) then you can simply set all
ToUser
s to
ADMIN
You must start programming it and if you have any specific technical questions, please ask.