View Single Post
Old 05-27-2010, 11:55 AM  
camperjohn64
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,531
Server contacting browser...technical thread...

Is there any way that the server is able to send an unsolicted message to a specific client?

For example, I am working on this dating site, and when I make changes in the admin panel, the test browser almost immediatly reboots and asks for my login again - this is normal action.

There are only 2 ways I can think of that this can happen:

1) The browser is contacting the main website every second to know if anything has changed.

2) The server, is somehow able to send a message to the browser...

I understand how to do method 1. The browser pings the website for some sort of session or update data or whatever.

But! Is method 2 even possible? Is there any way that the server is able to send an unsolicted message to a specific client?

I would never make a wesite "ping the server every second to find updates", since with 10,000 online visitors, that would be a huge load. So if there is some way to do method 2 that would be awesome.

Does anyone know if this is possible? Ideas?
__________________
www.gimmiegirlproductions.com
camperjohn64 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote