954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Outlining of a 'Web Chatting Application' in ASP

The application has the first window named chatroom.asp . Here a person will give a room name and enter that room for chat. All those who want to chat have to enter the same room. When a chat room is submitted by a user, the room name is passed to several other asp files for processing. The application will then provide the chat.asp home screen which is actually a vertical combination of two frames – the upper one is chat_controller.asp?ID=room-name and the lower one is msg_browser.asp. ?ID=room-name file.
The chat_controller.asp window is used by each individual user of a room to send msg to the server which will be shown to all users of the same room through the msg_browser.asp window. Room name is passed from the chatroom.asp file to the chat.asp file through the request(“room”) method. This data is then again passed to the chat_controller.asp and msg_browser.asp files through the ?ID=request(“room”) method . The room name is vital to both these files because the room name will isolate concurring chatting sessions from each other. If the room is , for example, xyz the chat_controller.asp will initially open as chat_controller.asp?ID=xyz . This file has the msg sending user interface with the visitor name textbox , the Msg content textbox and the Msg send command button. When a user click the button, the visitor name and the Msg text will be sent back to the chat_controller.asp?ID=xyz file and the inner code will entry the 4 pieces of data (1)room name (2) visitor name (3) Msg text and (4)send time to the database. As the target file is chat_controller.asp?ID=xyz itself, the msg sending user interface is again ready for the user for next Msg sending operation.
The msg_browser.asp. ?ID=room-name file automatically reload itself in every second each time searching for the msg(s) sent to the specified room. It then shows the last 6 msg(s) that have been sent to the room by different users.

Nazmul Haque
Newbie Poster
5 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
 

Okay, so what is your question?

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: