|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Web Servers
Hi
Is there any way I can send a message to a client visiting a particular site. or send a message from server to browser, or using a script can we listen to a server. Thx Sumesh |
|
#2
|
||||
|
||||
|
Hmm, clarify your request a bit, please.
Send a mail message? Show a message on screen? |
|
#3
|
|||
|
|||
|
i just need to send a message on the browser screen..
|
|
#4
|
||||
|
||||
|
Hmm, echo or print it !! You are familiar with how PHP works?!
|
|
#5
|
|||
|
|||
|
can we listen to a webserver port from the client browser using some scripts or so... like javascript...
|
|
#6
|
||||
|
||||
|
sumesh: I think you are confused.... The way HTTP works is that the server sends the HTML page to the user and thats it. There is no way of getting a connection going between the server and client that is not terminated once the page is delivered.
If you want to send a message to a user informing them of something you need to have a page that reloads every so often which will then check and present the message to the user. There is no other way of doing it. |
|
#7
|
||||
|
||||
|
Moved to Beginners from PHP.
sumesh, please try to keep your posts on topic. Thanks.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Web Servers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|