Online Chatting Room - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Online Chatting Room

Description:

Active Server Pages (ASP),VBScript. Jscript & Javascript, HTML. Active Server Pages (ASP) ... Finds the page in the server. Sends the page back across the ... – PowerPoint PPT presentation

Number of Views:930
Avg rating:3.0/5.0
Slides: 10
Provided by: Xiao57
Category:
Tags: chatting | online | room

less

Transcript and Presenter's Notes

Title: Online Chatting Room


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 vs. HTML
  • 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

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
Write a Comment
User Comments (0)
About PowerShow.com