Question

one-way instant message

Asked by: urbanc

I am interested in having our intranet site incorporate a one-way messaging feature for supervisors to relay information back to employees. Preferably in CF, the supervisor would login to the admin section from which he can send off a broadcast message that would show up on each computer (intranet is on active desktop).

I'm just not sure where to start with this, any ideas and or links would be helpful.

thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-08-07 at 07:59:44ID21085679
Tags

instant

,

message

,

send

Topic

ColdFusion Application Server

Participating Experts
4
Points
300
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Netware Client Broadcast Messages
    How can I turn off the client broadcast feature on our student stations? We are using Client Ver 3.3 on about 120 PC's and the kids have figured out how to use the broadcast feature to send instant messages. It's a real pain during timed typing tests, exams, etc. Thank you.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Seth_BienekPosted on 2004-08-07 at 09:51:25ID: 11743402

What IM platform are you wanting to connect with?  AIM, ICQ, MSN, Yahoo, SameTime?

It's doable but you will need information about the messaging protocol you intend to use.

Regards,

Seth

 

by: urbancPosted on 2004-08-07 at 10:14:57ID: 11743527

Well I wasn't wanting to use msn messenger or aim or anything like that. just have it all embedded on the actual page. without using a seperate program like msn, yahoo, aim.

 

by: Seth_BienekPosted on 2004-08-07 at 12:12:56ID: 11744021

So it sounds like what you are wanting to do is allow supervisors to insert some text into a database, and then have the desktop clients poll the database for available messages.

Unless you have active the desktop refreshing itself or an element (ie a hidden div or iframe) using javascript, there's not really a way for the polling to happen automatically.

Then, unless you're having the users login to the intranet site, or your network is set up with static IP addresses, you won't be able to tell who has received the message and who has not.

That's not to say it isn't doable - the main question I'm prompting you to ask yourself is, is this the most practical approach to solve the problem?  Without knowing too much about your needs for this project, it seems like what you are describing is a good application for plain old e-mail.

Regards,

Seth

 

by: urbancPosted on 2004-08-07 at 21:05:29ID: 11745225

True, it might not be the most practical method, but we also don't have the capacity to provide so many emails and probably the main reason for not providing emails to all employees is because it will become another distraction from their actual work.

I just thought this might be an efficient way to provide information (ie. updating the status of a current project) to employees on a regular basis, in a way that is least distracting and is easy for all employees to view.

 

by: urbancPosted on 2004-08-07 at 21:34:35ID: 11745300

Seth, if each computer was assigned static addresses, how would you be able to verify which computer has received a msg? and if that is possible, would it not be possible to send a msg to specific computers via assigned ip addresses?

 

by: pinaldavePosted on 2004-08-07 at 23:55:50ID: 11745521

Hi urbanc,

as seth said before you need to know about socket to connect to them using the TCP/IP as this is the way to know where you sent msg and if they have received or not. Your idea of instant msg is great but that is instant msgr is not it? what you want is that if they have something to tell they can send instant msg one way through coldfusion applciation.
now you will have to create some application of the coldfusion which runs beyond your browser and inform the user when he receives the msg.
OR what we need is that we need to create such a system, when there is mesg on your perticular TCP/IP protocol it opens up the browser and informs the user that this is the news.
OR what we need is that when the msg is received it will show up on your users existing page that the msg is for him.

Well all this options has lot to discuss and may be /may be not that possible. Well, I love CF but I do not see CF doing IM job as this is web based application and does my life easy with its simplicity with database. Also, when we receive the msg on TCP/IP network on some specific port and open the browser sounds like some kind of web service. Also you may need to create the client to  listen the network port continuolsy and when ever it receives the msg it has to launch its specific web application( or browser) to display the msg.


========================= My suggestion
This is what we are doing with our system, we have CMS and whenever supervisor writes something for any perticular person only he can see the comments and discuss using discussion thread. Other does not have any access. Also we have kept that web page auto refreshing and fixed size of the browser so it is like a bar at the bottom of the screen.  We launch in the mornig and keep it on the top (manually) and if there is anything new it will show as it refreshes every min, and will display the msg and we do two way discussion like msg board there. It is fun.
========================== END


Regards,
---Pinal

 

by: Seth_BienekPosted on 2004-08-08 at 09:07:46ID: 11746687

Hey urbanc,

If each computer was assigned a static IP address then you would have a table in your database with basically 2 columns (probably more, but for demonstrative purposes let's stick to the main 2 columns): IP_ADDRESS and USERNAME.

First you would have to enter the IP address and corresponding user's name into the table for every computer using the system.  If you wanted to automate this, and trust the users to enter the right name, you could create a web form for this.

Next, you would create a session or client variable for the user whenever they visit the site, to remember their name.  Something like this in your application.cfm:
<cfparam name="client.username" default="">
<cfif not len(trim(client.username))>
  <cfquery name="lookup"... >
    SELECT username FROM users WHERE ip_address = '#cgi.remote_addr#'
  </cfquery>
  <cfset client.username = lookup.username>
</cfif>

Then, based on the value of client.username,  you would know who's at the other end of this page request.

As far as keeping track of who's seen what messages, you would need two more tables.  One to contain the messages themselves - let's say a table called MESSAGES, with columns MESSAGE_ID and MESSAGE_TEXT (again, just two columns for demonstrative purposes), and another table called MESSAGES_QUEUE, with columns MESSAGE_ID, IP_ADDRESS, and DELIVERED.

Whenever a message is generated, you would SELECT all the rows from USERS (for broadcast delivery) or just the ip_address for specified users for 'addressed' messages, and insert a row for each user into the MESSAGES_QUEUE with the new message_id and ip_address for each user, and set the delivered column to have a value of '0' for 'not delivered'.

Then to check for messages a user has not yet seen you would join those two tables, and you would want to mark the messages_queued.delivered column as '-1' (ot true) when a message for a given user has been viewed.

I'm trying to sum up a decently complex app in a small space here, so there may be some vague spots, but I think I've covered the general framework.

Regards,

Seth

 

by: pinaldavePosted on 2004-08-08 at 09:37:16ID: 11746857

Good explaination Seth here and also in my Q. Thanks! :-)

 

by: russmichaelsPosted on 2004-08-09 at 15:43:23ID: 11757954

Simply have a webpage where a user logs in and then displays any new messages for that user.
The page will regularly refresh itself and check the database for new messages for that user.
If a message does exist you can use javascript to focus() the browser window so it pops up or comes to the front.
If your using active desktop then you can place a small window on users desktops that will act as a webpage.

Your sysadmin then has a simple interface where he can select a user and send them a message which will then popup on their desktop.

you do realise that windows network already have the facility to send messages to other users on a network, it's called the messenger service.

To use it, simply open a command prompt and type

net /?

this will give you help on the net command

using "net send" will allow you to send messages to other machines

E.G

net send MACHINENAME "message"
will popup a windows alert on that persons machine.


For what your asking, this seems like a simpler solution.

HTH

Russ Michaels

 

by: pinaldavePosted on 2004-09-15 at 16:42:31ID: 12070660

I think, I should also have points here for good suggestion along with other two experts.
Regards,
---Pinal

 

by: russmichaelsPosted on 2004-09-20 at 11:33:50ID: 12105068

Well it's for others to decide if your suggestion was good or not, not you. Personally I don't think it was any good. But you got points for your moaning anyway, so be happy.

 

by: mrichmonPosted on 2004-09-20 at 11:42:23ID: 12105169

Personally I agree with russmichales.

Just because you comment does not mean your comments deserve points.

You often complain that you should get points just because you made a comment, but really the points should go to the comments that are the BEST and MOST COMPLETE answers for the question - not to everyone who participates.

I carefully read each comment when making a recommendation and sometimes select your comment as the answer and sometimes select other comments.  But you almost always post a complaint if your comment is not selected - even if it really wasn't the best answer or even if it didn't answer the question at all. In this post you even start out as saying "as seth said..." which further indicates that Seth's answer is probably a better one to select.

Before complaining that you should get points it would be nice if you also carefully read all of the responses and considered them objectively.

 

by: pinaldavePosted on 2004-09-20 at 12:01:26ID: 12105384

Thank you all,
I will say, We are using the system which I have suggested and I strongly believe in what I said.
I will rather avoid arguments here about what is correct or not. I strongly believe that everybody has right to say what they want to say.
Your opinion is valuable. When I say some body is good does not mean that I am bad. Praising someone else is good thing, if they are better.
Again, I only post comment when I think, I am correct. I will never worry/argu if other are not incorrect. I do not believe in that.
Regards,
---Pinal

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...