Click here to Skip to main content
15,887,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
Hi I am working on a project where the customer has to register through web application after few days a certain alert has to be send to him through SMS or through E-mail which he has provided during registration time .For such alert messages I can use Windows Application/Windows Service (Means it should work automatically) is my thinking is right or any option is there in web application which do such back ground work automatically something like threading .


Advance thanks,


Regards,
Arun
Posted

[If I understand you correctly]

As I see it you need to have an event Ti later than the registration time.
I would suggest you keep the registration information in a Database.
You can have an application (a local application rather than a web application, to answer your question) that will do polling on the DB to see if there is a user to send an SMS\mail to.
Send the notice to the user and mark the user with a flag saying that it was sent.
Depending on an application that will count several days, for many users seem like a very bad idea. While managing it on a DB is also crash-tolerant - meaning that if your server application goes down, (either crash or maintenance) it can pick up where it left before the shutdown.

Good luck,
Edo
 
Share this answer
 
From my experience I suggest you to create SQL server job to do this. because it is more reliable than windows service or separate application.
 
Share this answer
 
Comments
arunrv 5-May-13 13:22pm    
I am using MS access as DB s there job option in it .
Yahya Mohammed Ammouri 6-May-13 1:44am    
I do not know about MS Access

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900