Hi everyone
I know this post does not belong in PHP forum but I really didn't know where to post it.
I'v made a PHP shopping cart for some markets that allows the owner to log in to admin area and wait for customers to order.
Orders should be shown in the admin page as soon as the customers make them.
Right now i'm sending request to server every 5 second by Action Script 3 (Flash) to check the database to see if there are new orders on the database.
BUT the problem is that this website could not be used for more than 10 owners at a time because it would be several requests sent to server each second. I'll need a really fast server to take requests for hundreds of market owners..
So, The question is if it's possible to send the data automatically to the users browser when a new order is made instead of checking the server every second?
I'v heard about something called Server Push that sends data from server to users browser but I don't know how it works.
Can anyone help me with this?
Any help will be appreciated.
Thanks / Behzad