V
v4vijayakumar
XMLHttpPushContent - Client-side storage (buffer?!) to which server
can push.
Is it possible? Would this be useful?
can push.
Is it possible? Would this be useful?
v4vijayakumar said:XMLHttpPushContent - Client-side storage (buffer?!) to which server
can push.
Is it possible? Would this be useful?
....
Are you describing a scheme where some server will push anasked information
to some client?
yes.
That will not work because most clients are behind a router/firewall and the
server cannot find a open/working port that routes to the client you want
to push to. (Many routers open a random port to which the server can
respond, so the router 'knows' which machine behind the the router wanted
the information.)
If you mean something different, please elaborate a little more...
v4vijayakumar said:...
If there is "XMLHttpPushContent" object to which server can push data,
then it would be useful (?).
Some web contents are really push. Even, RSS/atom feeds are pulled by
the browser/readers.
I always wondered why, for servers, when it is possible to respond to
requests but not communicate thereafter. If it is possible for a
client
pull content from server, why there is no way for the server to push
content to the client.
If many clients are behind the firewall/router then, why not servers
talk to them, then it is their (firewall/router) responsibility to
communicate to clients. Why there is no "URL-like" mechanism (reverse
URL ?!) for serves to talk back to client.
thanks.
XMLHttpPushContent - Client-side storage (buffer?!) to which server
can push.
Is it possible? Would this be useful?
....
Of course that is possible. But it is not the nature of the http-protocol.
In short (and not excactly):
1) request received at server.
2) server sends back response to client (Server can see where to send back
because the return address and port is mentioned in the request)
3) connection ends there.
That is how http works.
v4vijayakumar said:Even there is no way to serialize http-request object in the server
side, so that we can use these details later.
"Push" also can be compared to "response", when "request" means
"tune-in".
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.