How to allow one page to remote control another without using a database

How to allow one page to remote control another without using a database

I am new to JQuery. I would like to create a page that can remotely operate a second page. I can envision how to do it if I involve a database, but I'm not sure how to do this without one. I will describe my primitive database method, and I'm hoping someone can advise me on a better way.

Page A has a slider within a form that can be moved up and down. It also contains a JQuery "change" function that serializes the form data and uses Ajax to post the slider values to page B (in realtime).

Page B takes the form data variables and writes the sequential slider values to a database.

Page C also contains a slider, and is constantly loading database values and updating the position of the slider.

The effect would be you could view page C from a browser, and the slider would move in synch with the slider that is being manipulated on page A. Of course, there would be some lag time as a result of writing to and reading from the database. So this method seems primitive to me. All the queries would slow down performance.

Is there a better way for me to do this that doesn't involve writing to a database? I'm envisioning that page B is somehow storing the data in some way that can be retrieved by an external page (and doesn't require a database).

In a way this might be related to a creating a "chat" program, in that a page (page C) being accessed by a secondary user is being updated in realtime.

Can someone please give me an idea how this might be accomplished?