473,770 Members | 4,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending an alert message to logon user in Web Application

Hi ,

I am working on a ASP.Net Web Application which need some requirement as given below.


Let's say two user's A and B. When a User A Assign a task to B , Then B need to get some sort of alert message with
out doing any action by B in his web browser, which need to tell User B that user A had assigned him some task and he need to response
back to User A at the same time by and acknowledgement saying he accepted the task or rejected. Here I can not use the
Mail server feature.
Here user B need to get the pop up/alert message at the same time when user A posted the Task.
Is there any solution for this Problem.

Note :
We are using SQL Server 2000 as a database.

Thanks in advance.


Pradeep Kumar C
Project Leader
Cordiant Technologies (P) Limited
Indira Nagar, Kochi, 682020, INDIA

Tel: +91-484-231-1441 x12
Fax: +91-484-231-0529
cell 9847157714
http://www.cordiant.com
- Global Offshore Software Outsourcing Company

Nov 18 '05 #1
3 2755
Hi,

you could use an IFRAME in your page that polls for activites every 30 sec
or so. When user A posts an item, it copies it to a central queue which code
executed by the IFRAME checks for contents. If found, the IFRAME could popup
a div to user B.

--
Patrik Löwendahl
www.cshrp.net - 'Elegant code by witty programmers'
"Pradeep Kumar C" <pk****@cordian t.com> wrote in message
news:Ox******** ******@TK2MSFTN GP09.phx.gbl...
Hi ,

I am working on a ASP.Net Web Application which need some requirement as
given below.
Let's say two user's A and B. When a User A Assign a task to B , Then B
need to get some sort of alert message with
out doing any action by B in his web browser, which need to tell User B
that user A had assigned him some task and he need to response
back to User A at the same time by and acknowledgement saying he accepted
the task or rejected. Here I can not use the
Mail server feature.
Here user B need to get the pop up/alert message at the same time when
user A posted the Task.
Is there any solution for this Problem.

Note :
We are using SQL Server 2000 as a database.

Thanks in advance.
Pradeep Kumar C
Project Leader
Cordiant Technologies (P) Limited
Indira Nagar, Kochi, 682020, INDIA

Tel: +91-484-231-1441 x12
Fax: +91-484-231-0529
cell 9847157714
http://www.cordiant.com
- Global Offshore Software Outsourcing Company


Nov 18 '05 #2
Hi Pradeep,

As for your question on let the online user in the web application notify
each other and let the receiver get message automatically without do any
operation, I think Patrik 's suggstion is reasonable. The web application (
no matter asp.net or asp or any other b/s techs) are all request/response
mode in which the client has no persistent connection with the serverside.
So if we need to store the message info at the serverside. And need to
notitfy the user when there is any new updates in the serverside data. We
have to let the client post back to the server constantly to query the
datas. And currently there're two means:

1. Constantly refeshing the page to post back it and query the
database(store messages) at serverside and if there is new updates then add
clientside script so that when the page response return client , the
client script will popup a dialog to notify the user. And since constanly
refreshing page will make the page blinking, so generally we use a hidden
iframe (set width and height as 1 so as to make it not visible to user) to
contain the refreshing page. You can also search on the web for such skills
and it is widely used in online message board system(which have the
functoin to let the online user to send message to each other:) ).

2. As for the IE browser, we can use DHTML and script code to call
webservcie at serverside. That means, we can expose a serverside message
system intefaces(such as query and udpate) in an asp.net webservice. Then
in asp.net web page, we call the webserice via clientside javascript to
query the database on server so that we don't have to constanly refresh the
page to post back it.

Here is the related reference on DHTML webservice in MSDN:

#About the WebService Behavior
http://msdn.microsoft.com/workshop/a...asp?frame=true

Hope these help. Thanks.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Pradeep,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

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

Similar topics

5
2227
by: John J. Hughes II | last post by:
I have an application that sends simple e-mails using SMTP, it no longer works with a lot of e-mail servers. Basically the problem seems to be that I am no longer sending a valid logon sequence. The server says the user is not authorized, if I switch to Outlook it works. Code to send authorizion. this.SendData("AUTH LOGIN" + CRLF);
13
3229
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using this, it seems, that the user must install IIS on their computer. Isn't there a class that will detect whatever mail server is available on a computer and use that? How do I create this functionality without having the user add any other...
5
3181
by: Kevin Swanson | last post by:
First, apologies for cross-posting. I posted this message originally in exchange2000.development, but it looks like that's an unmanaged group. At least it doesn't show up in the list when looking at the managed groups... Here's the original post: I'm writing an ASP .net web application that (in part) adds a calendar item to the user's Exchange mailbox. I "stole" some code that many people seem to be using, and it works great as long as...
3
2583
by: rfontaine | last post by:
I have a virtual directory on IIS 5.0 to a remote share on a Windows 2003 file server. The "connect as" is a domain user account. The share as read permission for everyone and the NTFS permission is set so the user as access to the directory. I get the stop sign with the status "logon failure: the user has not been granted the request type logon" The local policies on the file server for allow access from the network contains the...
1
2559
by: John Smith | last post by:
Hi, I'm trying to send email in our C# ASP.Net application using the Outlook 11 library. For a bunch of unimportant reasons (unimportant to this posting that is) we have to do it this way and can't use SMTP. When I run the application through Visual Studio.Net (by clicking debug in either debug or release modes), it works fine and the email is sent. When I run it by going to Internet Explorer directly and typing in my local host...
0
2658
by: Marty Cruise | last post by:
I successfully deploy my application to 20 domain users. Only one new user is giving me a problem, although he can access all domain resources. When he clicks the installation link on the publish page, Framework 2.0 installs successfully, but then the application installation fails during the "Verifying Application Requirements" process. Can anyone help me figure out how to solve this? Error is as follows. PLATFORM VERSION INFO...
2
2059
by: Oltmans | last post by:
Hi All, I'm trying to send an HTML email from my asp.net 2.0 application. I want to show an "alert" message when user opens up my email message using JavaScript. Though I've been able to send email but I am *unable* to show an alert message using JavaScript. Any ideas, please enlighten me. Thanks. Here is my code
0
1248
by: Vajrala Narendra | last post by:
in the i got few problems please solve to help me also send information regarding email sending. Try Dim mailbody As String mailbody = "" mailbody = mailbody & "Company Name : " & txtcomp.Text mailbody = mailbody & "contact name:" & txtcont.Text mailbody = mailbody & "Address:" & txtadd.Text mailbody = mailbody & "website:" & txtweb.Text
9
3469
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient oSMTP.Send(oMailMessage) (in this line I am getting the above err)
0
9439
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9882
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7431
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5326
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.