473,417 Members | 1,628 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,417 software developers and data experts.

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 4826
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**************@tk2msftngp13.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**************@TK2MSFTNGP12.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**************@tk2msftngp13.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**************@TK2MSFTNGP11.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**************@TK2MSFTNGP12.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**************@tk2msftngp13.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***************@TK2MSFTNGP10.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**************@TK2MSFTNGP11.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**************@TK2MSFTNGP12.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**************@tk2msftngp13.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****************@TK2MSFTNGP12.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***************@TK2MSFTNGP10.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**************@TK2MSFTNGP11.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**************@TK2MSFTNGP12.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**************@tk2msftngp13.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
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...
6
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,...
2
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...
9
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....
2
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
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...
3
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
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.