Server side pushing???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Izzy
Forum Newbie
Posts: 2
Joined: Mon Sep 13, 2004 8:01 pm

Server side pushing???

Post by Izzy »

Is is possible to use php / javascript / iframes (As in the tutorial Here refresh the users browser or send updated changes to their browser without reloading it.

For example the User A requests to be notified when FOO is available from the server's database, and waits a few minutes (Seconds) then User B inputes FOO on the server database.

Is is possible for the server to notify User A that FOO is now available and the value of FOO???

Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the server cannot directly notify the user, they have to keep requesting it, basically, until the server can find it. This can be accomplished through iframes and javascript, however both can easily be disabled in most browsers...
Izzy
Forum Newbie
Posts: 2
Joined: Mon Sep 13, 2004 8:01 pm

Post by Izzy »

Thanks for the quick reply!
Post Reply