What is used for making a real-time chatroom? ASP? Generator? If anyone has the answer please reply!
Printable View
What is used for making a real-time chatroom? ASP? Generator? If anyone has the answer please reply!
PHP3 is the best option very quick!!!!!1that is what i used anyway!!!1111no generator involved!!!!!!!
But is there anyway to do it using only ASP?
Of course there is but it would be very slow to update!!
Hi !
ASP will not be slower than PHP, but PHP have a lot of very useful functions like
sleep(time in seconds);
Using that function you may call Load Variables action from Flash once in 20-25 seconds and chat window still will have live updates, and seems that in ASP you have to call .asp script every 2-3 seconds and chat window will have forced once in that 2-3 seconds update. That is the main PHP advantage (i think) :)
This has been very helpful, thank you all! One last question though: Is there any tutorials or downloadable examples of this? I guess I would be able to figure it out without help but it is always easier when given an easy start.
ILYA i have cretaed a chatroom ain ASP And PHP3 and PHP3 is noticeably faster!!!
yes Jezze,
take a look in the folder:"flash4/sample pages/chat.
This folder is automaticly installed with flash4.
It's very basic but it works.
The asp script is also inside the folder.
If u know to change the asp script or know something about asp please let me know.
soeshy
Hi FlashGuru !
It is really strange ... I created both scripts too, and as i remeber that they were nearly equal :)
Yes, i hate ASP too, but still don't see why it may be _noticeably_ slower..
soeshy: Well, me and my friend has this webdesignstudio together, I'm the artistic one (design, page-layout etc) and he is the man with the brain, which means that he knows about everything there is to know about ASP, so I could just ask him if there was something in perticular you where thinking about. I'm just doing a bit of research here...
Regarding this sample pages I'm really greatful, I can't belive I haven't noticed them before!!!
Cheers!
hi Jezze,
i've posted a topic about it a few lines away from this one :-) called "asp& flash chat"
I want the script to send a list of all the chatters to all the other chatters in the same room.
I've only changed the design, not the funtionality.
(only 3 public (non editable variable) rooms and 1 private (editable variable) room)
Quite simple I guess, but i've no experience with asp.
Please ask your partner about it and let me know asap
thanx
Steven
I'l ask my friend about it, problem is that he is away for a day or two but after he has return he will probebly be able to answer your question! :D