Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Web Based Chat

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,63790
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Web Based Chat
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Web Based Chat - 8/25/2008 9:12:02 PM   
  morpheus83uk

 

Posts: 380
Score: 0
Joined: 8/21/2006
Status: offline
Sorry I might have posted originally in the wrong forum if this is true please could one of the mods be so kind as to delete my other post from the VBScript forum.


Hello,

I am looking at a web solution for a support function so there would need to be like a Private Chat funtion or a public function or a room based chat. I am looking for something free and if that means me developing it then thats fine. I just need some form of starting point... I have googled around and everything is in ASP and I have no idea what it means nor so I have any form of server to set it up on. I am looking at something possibly to do with HTA as it is going to be bolted on to our current help system which has been built in house.

Does anyone know of or whee I can find a good example or a good starting point?

Many Thanks

James
 
 
Post #: 1
 
 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

(in reply to morpheus83uk)
 
 
Post #: 2
 
 RE: Web Based Chat - 8/26/2008 7:59:43 PM   
  morpheus83uk

 

Posts: 380
Score: 0
Joined: 8/21/2006
Status: offline
Hello,

Firstly thank you for your response I will start having a look into XMLHTTPRequest and the POST method etc. I do however have a small problem we are just looking at using like a PC or an SMS server to use this service on so we dont want lots of things on there... is there any other way of doing this? Or is running an ASP Server easy to do and a small load on the server its self?

I will also have a look into thew Ajax function but I will have a go and I can see me coming back and asking some more questions as I plod along.

Many Thanks for your help

James

(in reply to TNO)
 
 
Post #: 3
 
 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

(in reply to morpheus83uk)
 
 
Post #: 4
 
 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

(in reply to TNO)
 
 
Post #: 5
 
 RE: Web Based Chat - 8/27/2008 1:42:56 AM   
  morpheus83uk

 

Posts: 380
Score: 0
Joined: 8/21/2006
Status: offline
Hello,

It will be used internally so only on the intranet  but it will be part of an in house hta...

And thanks for the link above I am currently installing IIS now for testing..

Many Thanks

James

(in reply to TNO)
 
 
Post #: 6
 
 RE: Web Based Chat - 8/27/2008 10:41:39 PM   
  morpheus83uk

 

Posts: 380
Score: 0
Joined: 8/21/2006
Status: offline
Hello,

I have found a free chat based upon your knowledge and its free to re design etc which is good so I have a good starting point however it uses PHP and requires an SQLServer...

Does anyone know if there is a simple way I could change this around so that I can use the ASP route? as I cant seem to get the SQL Side of things to work I jsut keep getting errors? and then I can have a go from there...

The errors which are displayed on the page when its up are:

is being used to separete the fields in the output } echo "end";}?>:
undefined
".$name." :
".$text." 
is being used to separete the fields in the output } echo "end";}?>:
undefined
".$name." :
".$text."

This will repeat until I close the window...

Anyone have any idea's why?

Many Thanks

James

(in reply to morpheus83uk)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Web Based Chat Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts