Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8774569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:36:05+00:00 2026-06-13T18:36:05+00:00

I have a situation where an event have to affect several web pages on

  • 0

I have a situation where an event have to affect several web pages on an event is triggered.

Its like in GMail. I am developing a project based on online stocking trading system for my college. There are asking for a facility where the administrator or the dealer doesn’t need to refresh his end of the application to view the new orders placed by the customers at the other end of the application.

As I said its like GMail, wait for the event to happen, listen to it and update the page.

I am good at JavaScript and jQuery that I can do this within a page: event listeners. But how to do this across several pages.

You can also consider another situation: A waiter, a cashier and a cook in a hotel, all have a PDA with them, any of them doesn’t have to refresh their instance of web page to update the orders placed.

How can I achieve this? Is this possible?
I say I am good at javascript but I have my limits and doubts.

I use jQuery and PHP.

Thanks in advance.

PS: I know how to refresh the page or iFrame for every 5 seconds or so.

Edit 1:

As for additional details, I want to something similar to below that is done in java

synchronised(sync)
{
   sync.wait()
}

The code may not be accurate, this was from my lab experiments. But the concept is similar. Server waits till the client made a move and this is repeated for a lot of time.

Edit 2:

Another best example is a situation we always face in the internet: Complete a survey or something to enable a content to be downloaded.

My trading system needs such a thing. The dealer page always listens for the client page to act with the server. Upon such thing, the dealer page is reacted to that action. In this case placing an order.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:36:07+00:00Added an answer on June 13, 2026 at 6:36 pm

    If there is several page instances on one browser, you can use javascript web worker.

    ELSE

    Use “Long pooling” OR “ajax quering”

    Long pooling demo: How do I implement basic "Long Polling"?

    What you do, you always query server for new information. If there is new information, you return it. Then javascript will see that there is new information and it will show it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following situation: $('selector').live('click', openSite); and open site takes the event like this
I have a situation where I need to bind a click event to an
The situation is very simple, I have two panel. In the event of OnMouseOver
i have situation like this: class IData { virtual void get() = 0; virtual
I have situation like this: user submits form with action='/pay' in '/pay' I have
I have situation where in c# code I am adding an onclick client event
I have a situation where I have a service subscribing to event messages and
I have typical situation where big loop is loading lots of images and its
I have a situation where I would like to pop up an alert view,
I have a situation where I'd like to add a last modified timestamp to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.