View Single Post
Old 10-21-2011, 08:59 PM   PM User | #5
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,200
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
If the pages are running on different computers, then you can *NOT* solve this with JavaScript alone.

You *must* have some server-side code (PHP, ASP, JSP, etc.) that receives a message (presumably via AJAX) from one client to store the changed information. Then the Admin page can "scan" (again, using AJAX, and making the request every few seconds) by asking the server what has changed.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote