PDA

View Full Version : ASP Chat


Khalid
09-06-02, 14:49
Hi,
I am trying to build a Chat application using ASP, and I am looking for examples, but all I found on the net is poor applications, refreshing the application after several seconds and updating application variables to be displayed on the page, or storing messages in database and retrieve them back to be displayed on the asp page and this could take ages..

It seems weak, I need something stronger, like a java applet..
Can Microsoft Visual basic ActiveX replace the java applet in asp and visual basic?

I need only the idea, and I will work it out...

I will appreciate any professional ideas..

Thanks ;)

JonathanB
09-07-02, 10:39
A java applet is executed on the client side... meaning if you replace it with something like an ActiveX component you restrict yourself to the IE browser plat form. With Mozilla now I see IE losing a portion of the browser market and quickly!

Have a look at - http://bodytag.org/dchat/ - it uses an interesting idea for a live chat system.

Khalid
09-07-02, 14:33
Thank you for your reply..
I had a look at the site you mentioned, the idea looks great and it works in PHP while I script ASP, but this won't be a big problem, since I need an idea only.

Do you know how it works, since it doesn't refresh the page, and it does not use java applets, shockwaves,...etc.

Thanks again

JonathanB
09-07-02, 16:34
This weblog entry has links to the site that describes the method used.

http://www.bath.ac.uk/~cs1spw/blog/archive/2002/08/12/#dChatReleased

Khalid
09-08-02, 08:41
Thank you JonathanB, Remote Scripting is very interesting and I had never heard about it, though it is exactly what I am looking for.

Thank you for your advise, help and support.

JonathanB
09-08-02, 15:45
np :)

Khalid
09-23-02, 17:14
Hi,
I have done very well with Remote Scripting.

My application works fine, I do the following from client side scripts:

-call server side functions to save data in SQL-Server database.
-call server side fucntion to read data from SQL-Server database.

But when passing text parameters in arabic language from client side to the server side, it is displayed as ?????? and this means it is undefined as a code page or something.
Do you know if Remote Scripting does not support passing parameters in other language than english.

Thanks a lot

Khalid