473,387 Members | 1,904 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,387 software developers and data experts.

Re: Notifying a user on demand

Hi Nick,

From the description in your first message, I think what you want to do the
let the webservice server-side proactively notify the webservice client for
some changing, correct?

I'm afraid this is quite difficult as the webservice by default is used as
the client calls the server for information modal. The server-side doesn't
have any channel to send client-side informaton on the fly. Unless your
webservice client is also a service host which will listening on a certain
port(or host a certain webservice) to let the server-side invoke.

For such kind of "server to client" notification in http based stateless
environment, the most common way is still using a polling approach to
constantly check the server-side status.

Please feel free to post here if you have any other ideas or concerns.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Nick" <a@a.com>
References: <O1*************@TK2MSFTNGP04.phx.gbl>
<01**********************************@microsoft.co m>
>Subject: Re: Notifying a user on demand
Date: Tue, 8 Jul 2008 15:27:34 +0100
>
Hi Patrice,

The site is for public usage. One reason I mention the capability of
being able to log off the user on-demand would be that it would just mean
that it would be technically possible for me to process any other code,
the
>logging off on-demand isn't so important, just the practice behind it.

What i'm trying to do is enable a webservice to have extra control
over
>the logged on user so that I can provide some extra functionality that
isn't
>currently possible using the standard principals. I'm a little worried
about polling as I'm not sure what impact that would have with 100+ users
polling for notifications at the same time, and of course the delay
between
>a notification being sent and recieved.

Of course I might be being a tad too over cautious.

Thanks a million for your feedback, I hadn't thought of silverlight as
a
>possible solution, that could help with a number of issues...

Nick.

"Patrice" <http://www.chez.com/scribe/wrote in message
news:01**********************************@microso ft.com...
>As mosft often knowing the context could help. Is this for general
public
>or in a controlled environment ?

Depending on the context you could also explore using the "net send"
service, SilverLight, or an instant messaging API ?? If you need to
stick
>to a basic browser then you'll have likely no other choice than
polling...
>>
For logging off a flag that would log them off on the next request
Jul 9 '08 #1
0 1244

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

Similar topics

26
by: Simon | last post by:
I'm doing a survey. When do you think GNU/Linux will be ready for the average Joe? What obstacles must it overcome first?
1
by: David P. Donahue | last post by:
What is the best way (or what ways have been successful for you) to notify a user on a website that their session has timed out? I've seen various sites around the internet (my bank, for example)...
1
by: Stropher | last post by:
Hi! I have a db-query which takes too long to complete. In this process, it will not be bad notifying the user that something is being done so as to exercise some patience. How can I realise...
5
by: Markus Stehle | last post by:
Hi all! I have asp.net web application that uses static impersonation. Is it possible to change the impersonated user during runtime? Within some parts of my application I would like to...
8
by: Oliver Rainer | last post by:
Hi, I have the following problem... Pre-requisites: Installation of an Asp.net webservice on a IIS5 server (win2k). Anonymous access is not allowed, only using windows authentication (intranet...
0
by: zhuang | last post by:
Hi, I have problem with below code: WindowsPrincipal principal ; principal = new WindowsPrincipal(WindowsIdentity.GetCurrent()); WindowsIdentity identity = (WindowsIdentity)...
5
by: Mike TI | last post by:
March 24, 2006 Hi all I am new to VB.NET and am using VB.NET 2005. I have an MDI form with a Split Container Control. On demand I am adding and removing User Controls on Panel 2. I am using...
3
by: idletask | last post by:
I have an application that has many windows. One window is used for order processing. I would like this window to display the other users who are also performing order processing (the idea is to...
3
by: shapper | last post by:
Hello, How to I check if a user is authenticated and if it is what is its role? I am using Asp.Net 2.0 and forms authentication. Thanks, Miguel
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.