1 / 9

Online Chatting Room

Online Chatting Room. Ji Xu & Yuhong Chen. Objective. Build an Online Chatting Room which allows multiple users to logon and communicate at the same time. Features. User need a unique user name to logon the chatting room.

jania
Download Presentation

Online Chatting Room

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Chatting Room Ji Xu & Yuhong Chen

  2. Objective Build an Online Chatting Room which allows multiple users to logon and communicate at the same time.

  3. Features • User need a unique user name to logon the chatting room. • When a user logon to the chatting room, the information of the IP address as well as exact time when user enters will be collected. • Once logon to the chatting room, the user can type the message (no more than 200 characters) in a text area, and then clicks the submit Button to upload the message to the chat lobby window. • User can set font, color, and size of the input text. Images and special symbols are allowed to post.

  4. Features • The chat lobby window will display the messages from all users currently in chatting. Page will refresh every 5 seconds so new posts can be displayed and some old messages may get purged. • If a user has not input anything for 20 minutes, the session will expire and the user has to re-logon to continue the chat. • A user can log off /log on at any time. • The latest 100 messages will be saved in a text file, and others will be deleted automatically.

  5. Technologies • Active Server Pages (ASP),VBScript • Jscript & Javascript, HTML

  6. Active Server Pages (ASP) • ASP is a technology (not a language) for building dynamic and interactive web pages. • ASP takes the scripting language code and converts it into HTML on the server, before sending it back to the browser. • ASP is executed on the web server, so any client (browser) can be used to view the results. • ASP decreases the demand on browsers, by getting the server to do some of the work instead.

  7. ASP Read the request from the browser Find the page in the server Perform any instructions provided in ASP to modify the page Send the page back across the Internet to the browser HTML Reads the request from the browser Finds the page in the server Sends the page back across the Internet to the browser ASP vs. HTML

  8. Advantages of ASP • Make it easier to edit contents of a web page, by updating a text file or the contents of a database rather than the HTML code itself. • Create pages that will be customized to display only things that will be of interest to a particular user. • Display and update databases contained in the web page, and manipulate the data therein, by being able to sort the entries into any order or view a subset of them.

  9. Online Chatting Room • http://www26.brinkster.com/xuchen/default.asp

More Related