View Full Version : automatic webpage refesh after data insertion

03-23-2009, 08:56 PM

I am Lakshmi. I am stuck with an issue in my project from completion.
My program is trading exoeriment with 2 groups. If any user in 1 group enters value in filed called askvalue, this value must must be updtaed to all other users in the group. I tried to do thi by inserting and updating the table. Values are updating correctly in table a but weppage s not being regfeshes to other traders in same group. I am posting my code here

<input type="askbutton" name="ask" value"= " "><br>

when any user in the group clicks this button insertion sql statements have to executed and then refesh the webpage for all the traders in the same group without clicking refresh.

Can anyone help me with code or method of doing this or suggestions.

03-23-2009, 09:07 PM
So let me see if I understand correctly. You're trying to make a browser tell another browser on another computer to refresh a page? Contrary to my signature, I'm going to say... that is _not_ possible. Though I've been testing quite some things in that regard, considering I'm working on something else to achieve the same result and ended up with an auto-refresh every 15 seconds if the mouse isn't moving. I'm not sure if it's possible in any other language (Even though I'd be willing to go out on a limb and say it's not), but I'm quite certain what you're trying to accomplish can not be done in JavaScript.