Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help/suggestions for this idea

Status
Not open for further replies.

linuxkid

Programmer
Jul 31, 2006
1
US
First I apologize if this has been answered a numerous times but the search button was under repair and the google search was bringing topics from other forums instead of just asp.net.

Anyways I just need some suggestions or links to start researching on how to do something like this. A customer has put in a request that he/she wants to be able to send a web message over the intranet through a web portal.

Here is the example say twenty users are logged on to the web portal and the manager wants to inform all the users logged on that a certain function has been done they want a screen to type in a message and send to all the users.

I know why doesn't the manager just send an email but they want to just use the web portal and save the trouble of figuring who has an account and such.

I hope this was enough information and any suggestions or tips will be greatly appreciated. Have a nice evening.
 
You could insert a record into the database and have your page check the database for new messages every x minutes. Use an AJAX approach if you don't want a full page postback.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
 
I agree with ca8msm's idea if you need to perminately keep the message.

along those same lines you could store the message to a simple text file, or (if it only needs to inform the current users) use the Application/Cache context to hold the message.

if some sense of permency is required you could:
1. store the action to the Cache
2. use the MS AJAX timer/always visible panel to display the action from cache.
3. along with that, automatically send an email to all users, (so if they are not online, they will still get the message).

granted persisting the message to the db in most intranet envoirnments isn't that big of a deal, this will probally be the easiest way to go.

You will probally need a way mark the message a "received" by user so the message is only permentant until the user acknowledges they received the message.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top