Login | |
|
 |
RE: Web Based Chat - 8/26/2008 11:28:27 AM
|
|
 |
|
| |
TNO
Posts: 1284
Score: 12
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
A server with ASP is suggested for the easiest solution. Developing one wouldn't be as hard as you think. Starting point and topics to read about: Learn how XMLHTTPRequest works so you can POST messages to a server without refreshing the page On the server use the FileSystemObject or a database to save messages (nothing crazy, hell a csv would work) maintain a date, a user, a message, maybe a room, maybe an obfuscated IP address in the "columns" Every time the server receives a message from the Ajax function, search the chat for the last few messages (either by date, or maybe by number of entries.) Delete old entries response.write the result. in the client update your html
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Web Based Chat - 8/26/2008 10:58:02 PM
|
|
 |
|
| |
TNO
Posts: 1284
Score: 12
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Maybe this will help: http://www.google.com/search?q=install+IIS
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Web Based Chat - 8/26/2008 11:17:57 PM
|
|
 |
|
| |
TNO
Posts: 1284
Score: 12
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Will this chat be for the Internet or an Intranet?
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
|
|