# I need a solution quick!

**URL:** <https://forum.kirupa.com/t/i-need-a-solution-quick/17523>\
**Category:** Uncategorized\
**Created:** [April 6, 2003, 12:07pm UTC](https://forum.kirupa.com/t/i-need-a-solution-quick/17523 "2003-04-06T12:07:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eudora](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@eudora](https://forum.kirupa.com/u/eudora)\
**Post date:** [April 6, 2003, 12:07pm UTC](https://forum.kirupa.com/t/i-need-a-solution-quick/17523/1 "2003-04-06T12:07:34Z")

</div>

Ok me and my frens need to do up this game. It is pretty simple…

There will only be 2 state of a button “on/off”  
And for both state there is like a timer to count how long it has been “on” or “off”

A user can access it thru the website and chooses to switch it on or off… but whatever this user does to the button will be reflected via realtime to any other user that is also accessing the website…

example, me and you enter the site… button is “on”  
if u switch it off, i from my computer shld be able to see this change as well…

And the timer shld be able to accurately reflect how long it is on and off

How to get this done??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2003, 12:24pm UTC](https://forum.kirupa.com/t/i-need-a-solution-quick/17523/2 "2003-04-06T12:24:10Z")

</div>

This is multiuser socket kinda stuff, you have access to that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2003, 12:38pm UTC](https://forum.kirupa.com/t/i-need-a-solution-quick/17523/3 "2003-04-06T12:38:58Z")

</div>

hmmz not sure… but i dun think i have…  
can u elaborate more?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 6, 2003, 12:47pm UTC](https://forum.kirupa.com/t/i-need-a-solution-quick/17523/4 "2003-04-06T12:47:34Z")

</div>

Well, if you want some info to be pushed back at every user connected to the site, you need a constant flow of data to update in real time, and this is normally done thru sockets (xml socket, check [www.moock.org](http://www.moock.org) on “unity” etc), or you’ll need to time a script execution to every second or so, which will put quite some load/ suck a lot of bandwidth, and then refresh the page to get in the new content…which I’m sure isn’t the desired effect…
