[AWS] Questions?
Pascal Obry
p.obry@wanadoo.fr
Fri, 27 Sep 2002 10:28:19 +0200
emartel@dit.ulpgc.es writes:
> One of my Web Server sends data to client's Web browser.
> Suddenly this Web Server fails!. I have another Web Server which
> realizes about it. The new Web server has the state of the first one.
> Well, I am intending to let client's browser know about the change
> of the web server. I can change the URL in the client's browser from
> the first Web Server when it is alive ( by means of
> ....AWS.Response.URL ("http://new_server:port/")...). Could the
> second Web server change the URL of the client? Is there any way
> for the server to communicate with the client's browser in that
> situation? I have seen AWS.Status.Peername but how can the
> web server connect with the client's browser?
No there is no way a Web server can connect to a Web browser. All connections
are always initiated by client's software. It would be terrible if Web servers
could connect to your browser... just think about the spam :)
> I have also read about the AWS.Server.Push. However, I do not
> need that the Web server sends continuously data to the client's
> Web Browser, just only one.
Even the Push protocol is initiated by the client.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595