Page 1 of 1
Web Servers
Posted: Thu Oct 02, 2003 5:01 am
by sumesh
Hi
Is there any way to send a message to a client visiting a site
or
send a message from the server to the client browser
or
listen to the webser using some scripts
Thz
Sumesh
Re: Web Servers
Posted: Thu Oct 02, 2003 8:32 am
by Derfel Cadarn
sumesh wrote:
Is there any way to send a message to a client visiting a site
Isn't that just a javascript-popup what you mean here?
sumesh wrote:send a message from the server to the client browser
**the same as above?**
sumesh wrote:listen to the webser using some scripts
I don't know what you mean by this...sorry
Posted: Thu Oct 02, 2003 11:35 am
by volka
you can't do that with http.
- client --request-->server
- client <--response-- server
for each request there's exactly one response. After this is delivered the connection's done.
listen to the webser using some scripts
java applets usually are allowed to connect a socket to the server they
came from
Or you let the page refresh after a certain interval e.g. by
Code: Select all
<META HTTP-EQUIV="Refresh" CONTENT="20; URL=http://your.serv.er/your/script.php">