473,549 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server send messages to specific browser and more...

Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.

So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients, redirect a client to another page.
In other way, a client will be able to send messages to another client,
throw the server.

These are the first funcionalities.

Thanks.

Zorhel
Nov 18 '05 #1
5 4830
This is not possible, as HTTP is a connectionless protocol. Meaning that
once a request has completed, the client and server stop talking to each
other, and that's it.

Web application just can't function exactly like a windows application can.

The only way you can accomplish this would be to either have the client
browser periodically poll the server for messages, etc, or to have some sort
of ActiveX capable of maintaining a constant connection to the server.

"zorhel" <zo****@zorhel. com> wrote in message
news:Og******** ******@tk2msftn gp13.phx.gbl...
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.

So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients, redirect a client to another page. In other way, a client will be able to send messages to another client,
throw the server.

These are the first funcionalities.

Thanks.

Zorhel

Nov 18 '05 #2
Thanks Marina.
Your opinion is my opinion too, think about Active-X, mozilla can't
implement that.

My boss tell me something about XMLHTTP?
Someone knows if this thing helps me in any way?

Thanks.
Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
This is not possible, as HTTP is a connectionless protocol. Meaning that
once a request has completed, the client and server stop talking to each
other, and that's it.

Web application just can't function exactly like a windows application
can.

The only way you can accomplish this would be to either have the client
browser periodically poll the server for messages, etc, or to have some
sort
of ActiveX capable of maintaining a constant connection to the server.

"zorhel" <zo****@zorhel. com> wrote in message
news:Og******** ******@tk2msftn gp13.phx.gbl...
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.

So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients, redirect a client to another

page.
In other way, a client will be able to send messages to another client,
throw the server.

These are the first funcionalities.

Thanks.

Zorhel


Nov 18 '05 #3
You can use XMLHTTP. This can do server side calls via client side
javascript. However, this has nothing to do with the server sending
messages to clients. This is still the client polling the server all the
time for new messages. It just does so without a server side post back, but
with just a client script - so it is seamless to the user and has no page
refreshes.

Also, I believe XMLHTTP only works with IE, so you would be out of luck for
other browsers if you wish to support those.

"zorhel" <zo****@zorhel. com> wrote in message
news:uC******** ******@TK2MSFTN GP11.phx.gbl...
Thanks Marina.
Your opinion is my opinion too, think about Active-X, mozilla can't
implement that.

My boss tell me something about XMLHTTP?
Someone knows if this thing helps me in any way?

Thanks.
Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
This is not possible, as HTTP is a connectionless protocol. Meaning that
once a request has completed, the client and server stop talking to each
other, and that's it.

Web application just can't function exactly like a windows application
can.

The only way you can accomplish this would be to either have the client
browser periodically poll the server for messages, etc, or to have some
sort
of ActiveX capable of maintaining a constant connection to the server.

"zorhel" <zo****@zorhel. com> wrote in message
news:Og******** ******@tk2msftn gp13.phx.gbl...
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.

So, my web app need to, from a server, send messages to a specific client (browser), send messages for all clients, redirect a client to another

page.
In other way, a client will be able to send messages to another client,
throw the server.

These are the first funcionalities.

Thanks.

Zorhel



Nov 18 '05 #4
So Marina, XMLHTTP works only in one direction, client to server ok?
Then, in the theory, I can send message from a client to another. I send the
message from a client to a server, using xmlhttp and the server send to the
specific client.
But server redirect the client navigate page and server send message to
client I can't using XMLHTTP.

Do you have any code or sample of xmlhttp?

And if I pool the server for messages, how can I do the server and the
client?
Do you have samples to?
I guess, in the client, I will be some kind of frame, and refresh the page
after a time, looking in the server for news.
But how?
Thanks.

Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
You can use XMLHTTP. This can do server side calls via client side
javascript. However, this has nothing to do with the server sending
messages to clients. This is still the client polling the server all the
time for new messages. It just does so without a server side post back,
but
with just a client script - so it is seamless to the user and has no page
refreshes.

Also, I believe XMLHTTP only works with IE, so you would be out of luck
for
other browsers if you wish to support those.

"zorhel" <zo****@zorhel. com> wrote in message
news:uC******** ******@TK2MSFTN GP11.phx.gbl...
Thanks Marina.
Your opinion is my opinion too, think about Active-X, mozilla can't
implement that.

My boss tell me something about XMLHTTP?
Someone knows if this thing helps me in any way?

Thanks.
Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
> This is not possible, as HTTP is a connectionless protocol. Meaning
> that
> once a request has completed, the client and server stop talking to
> each
> other, and that's it.
>
> Web application just can't function exactly like a windows application
> can.
>
> The only way you can accomplish this would be to either have the client
> browser periodically poll the server for messages, etc, or to have some
> sort
> of ActiveX capable of maintaining a constant connection to the server.
>
> "zorhel" <zo****@zorhel. com> wrote in message
> news:Og******** ******@tk2msftn gp13.phx.gbl...
>> Hi.
>> My clients will be IE, Mozilla and Opera in
>> a Windows and *nix OS.
>>
>> So, my web app need to, from a server, send messages to a specific client >> (browser), send messages for all clients, redirect a client to another
> page.
>> In other way, a client will be able to send messages to another
>> client,
>> throw the server.
>>
>> These are the first funcionalities.
>>
>> Thanks.
>>
>> Zorhel
>>
>>
>
>



Nov 18 '05 #5
No, client sends message to server. But then how does the server send the
message to another client? It can't. Not until that other client makes a
request to the server for something - in which case the server can give it
the information. But not until the second client initiates the request. In
all cases, the client always initiates the request - the server can only sit
there and wait.

You can have a timer go in your client side script. to trigger and XMLHTTP
call to the server to poll for incoming messages.

I don't have any samples, but you can use google to find some, as well as
complete documentation of XMLHTTP.

"zorhel" <zo****@zorhel. com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
So Marina, XMLHTTP works only in one direction, client to server ok?
Then, in the theory, I can send message from a client to another. I send the message from a client to a server, using xmlhttp and the server send to the specific client.
But server redirect the client navigate page and server send message to
client I can't using XMLHTTP.

Do you have any code or sample of xmlhttp?

And if I pool the server for messages, how can I do the server and the
client?
Do you have samples to?
I guess, in the client, I will be some kind of frame, and refresh the page
after a time, looking in the server for news.
But how?
Thanks.

Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
You can use XMLHTTP. This can do server side calls via client side
javascript. However, this has nothing to do with the server sending
messages to clients. This is still the client polling the server all the
time for new messages. It just does so without a server side post back,
but
with just a client script - so it is seamless to the user and has no page refreshes.

Also, I believe XMLHTTP only works with IE, so you would be out of luck
for
other browsers if you wish to support those.

"zorhel" <zo****@zorhel. com> wrote in message
news:uC******** ******@TK2MSFTN GP11.phx.gbl...
Thanks Marina.
Your opinion is my opinion too, think about Active-X, mozilla can't
implement that.

My boss tell me something about XMLHTTP?
Someone knows if this thing helps me in any way?

Thanks.
Zorhel
"Marina" <so*****@nospam .com> wrote in message
news:Oq******** ******@TK2MSFTN GP12.phx.gbl...
> This is not possible, as HTTP is a connectionless protocol. Meaning
> that
> once a request has completed, the client and server stop talking to
> each
> other, and that's it.
>
> Web application just can't function exactly like a windows application > can.
>
> The only way you can accomplish this would be to either have the client > browser periodically poll the server for messages, etc, or to have some > sort
> of ActiveX capable of maintaining a constant connection to the server. >
> "zorhel" <zo****@zorhel. com> wrote in message
> news:Og******** ******@tk2msftn gp13.phx.gbl...
>> Hi.
>> My clients will be IE, Mozilla and Opera in
>> a Windows and *nix OS.
>>
>> So, my web app need to, from a server, send messages to a specific

client
>> (browser), send messages for all clients, redirect a client to another > page.
>> In other way, a client will be able to send messages to another
>> client,
>> throw the server.
>>
>> These are the first funcionalities.
>>
>> Thanks.
>>
>> Zorhel
>>
>>
>
>



Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2159
by: srinivas | last post by:
Hey all, I need to develop a project which i need to send messages to Yahoo messenger Users... Can any one help me by telling how to do that... i got some information about yahoo protocol.. Thank you KL
6
2262
by: Marc | last post by:
How could I directly trigger a very simple on localhost and a known port listening server from my internet browser client? Local host means the little server would be running on the client machine, where my browser resides. Browser would be IE, O.S. Windows 2000 or XP, and it's for an intranet application. The goal of the little server on the...
2
1617
by: TS | last post by:
when i try to do a response.flush and .end, the screen ends up blank. I want all page processing to quit when a check in the pageload event fails. Since control events occur after load, how do i keep those from firing while still displaying the rest of the html on the page?
9
3470
by: Laurent ARNAL | last post by:
Hi, I would like to know if there is a way to remove/disable .php handler when the request come from a specific Browser. I ask this because I use dreamweaver / webdav to edit my .php files. But when I try to open the .php file in dreamweaver, what I see if the result of the .php executions, not the .php source files. I know that you...
2
1277
chandru8
by: chandru8 | last post by:
hi to all i need to send messages to multiple systems which are all connected in the lan iam using vb6.0 can any guide me thanks to all
7
4680
by: Anil | last post by:
I have a Javascript program which runs in the browser and has functions work(), and stop(). It listens to commands from the server to work() and can be interrupted by the server to stop(). I am using XmlHttpRequest to talk to the server. So I use http GET to send a command "ready" to the server, which replies at some point in time by sending...
3
2462
by: impin | last post by:
admin has to send messages to the users who are all in the network in a local area network. is it possible in php? plz help.
0
1189
by: shariquekhan | last post by:
I installed windows 7 recently & I am new to ASP.NET. I installed visual studio 2008 for developing ASP.NET application. I created my web application on visual web developer 2008 & when I run my aplication, ASP.NET development server runs & my defualt browser opens automatically but it cannot show my web page. Connection error ocurrs. But when I...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7715
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.