Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 13th, 2004, 01:39 AM
Authorized User
Join Date: Aug 2004
Location: , , .
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can i do Chat Application?

I have to develop chat application in ASP.
How can i manage it...
Is there any database concept involve it.
If possible please give me some help code.

Advance thanks
Reply With Quote
  #2 (permalink)  
Old September 13th, 2004, 01:54 AM
Friend of Wrox
Points: 1,288, Level: 14
Points: 1,288, Level: 14 Points: 1,288, Level: 14 Points: 1,288, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2004
Location: Stockholm, Sweden
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi

Dear Storage
you can get the code of chatt in ASP from

Hope it works fine for you


Love is the most precious thing of this world. So find it and grab it!
Reply With Quote
  #3 (permalink)  
Old September 13th, 2004, 09:31 AM
Friend of Wrox
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp

Some years back, I have created a chat application. I can give you details of it.

There was a page with 3 frames. #1 will show a form. #2 will show all the messages of current chat #3 will show the status, howmany members link to details of members etc.

I was using a database just to record the messages and help admin to check them and delete them. A simple chat can use just application object. No need of any database.

The most difficult problem I faced was how to post a new message immediately to the screens of other participants. For this, we should be able to raise an event on client browsers from server. This is not possible however. So I was polling the server at regular intervals to check whether any participant posted a new comment. This was done at a regular intervals of 20 seconds. This polling was done with the help of a page with a meta refresh tag.

The other difficulty was to intimate a person when an other person invites him. Again polling based on meta refresh was used by me.

I do not consider this to be a good method. It will load the server unnecessarily. Not all browsers will support meta refresh. And this does not seem to be a professional method also.

There should be someway to read a port on client machines through browser. Then there should be some method for server to write something to client machine port. Then this can be done successfully. However a extended search for such features for over a year did not produce any result. Finally I reached a conclusion that chats cannot be successfully built with browsers, ASP and JS alone.

I re-did chat tool with VB and winsock component. It was meant for intranet alone.

I am telling this not to deject you. My browser based chat tool was working but making our server crash every hour.

May be somebody tell us a way to read a port on client machine through browser. Also to write something to appropriate client browser when some relevant events (new user joins, a member posts a message) happens.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chat application krishna_krrish .NET Framework 1.x 0 August 14th, 2006 12:40 PM
want help(chat application) amitjava J2EE 3 September 27th, 2004 03:20 AM
Chat Application sachindhillan Classic ASP Basics 2 August 10th, 2004 12:32 AM
Chat Application uxi ASP.NET 1.0 and 1.1 Professional 1 October 1st, 2003 08:39 AM
Chat Application uxi ASP.NET 1.0 and 1.1 Basics 0 October 1st, 2003 06:27 AM

All times are GMT -4. The time now is 07:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.