July 11th, 2001, 08:14 AM
Really, I am looking for any way to code an instant (fairly instant) internet chat room, WITHOUT java or using a HTML page created at the server and using a META Refresh tag.
Any help or pointers to get me started would be great.
July 11th, 2001, 08:52 AM
Taking out Java, you are taking out any way of sending the information real-time.
Taking out server-sides, you are taking out any way of getting information to the server.
Someone correct me if I'm crazy, what you want to do is not possible. I hope I'm wrong.
Why not just learn PHP or ASP?
July 11th, 2001, 08:57 AM
No, you are right. I didn't quite think this through properly.
The way I have seen it done is clever, and makes it look like there is no refresh. The chat room is split into three frames, an invisible one that does all the refreshing and communication with the server, a middle one that shows the conversation, and a third which allows the user to send a message.
The actual chat semantics can be handled with a server side lang, such as PHP (which I do know !), it was the front end I was concerned about.
Thanks for the help anyway.
July 11th, 2001, 09:09 AM
In that case you could have the invisible frame be the PHP page, which could update once every 10 seconds (or whatever) with new text.
You could have JS in the other frame check every 5 seconds or so, and send the new text to the conversation window...
Just an idea.
July 11th, 2001, 09:15 AM
This creates the illusion (very well I think) of instant message delivery. Now to try and replicate it...
August 19th, 2003, 10:58 PM
After all my work I actually finished my chat forum and named it minichat. Currently I am planing to recode it and therefore you cannot find it on the net (you might find other chat forums named minichat however which are not mine!). I wouldn' suggest using it as it is very buggy but you can find the first version of the code here: http://minichat.port5.com/Mini%20Chat%20v1.0.zip