Click here to Skip to main content
15,896,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi friend,i have some problem when impliment project.The problem is how to impliment background process in asp.net.for example,i purchase antivirus for my pc,expires one year after.how to get
information expires data after one year.i want to impliments code without fires events how to get
information to user your antivirus is expired by email or by mobile.

If you impliments code in any asp.net page you must call that page but i want to impliments code
without call this page or fired events this can be done just like alaram clock or task management
in windows their is not need to give command by user.

Is any process how to fired events or call page in particular time without user ?.If Yes so How to impliments ?.

Thanks in Advanced !!
Posted
Comments
George Jonsson 12-Sep-14 2:37am    
Very difficult to read and understand you question.
Sounds more to me that you want a scheduled service, than using asp.net.
Member 8089110 12-Sep-14 2:58am    
sorry for my language to difficult to understand
Yes,I want to sheduled service by using asp.net

1 solution

You can achieve this behavior using SQL Server Job also.


1. When ever the user purchase a product you will enter his order details in a table.


OrderId, PurchaseDate, Email, UserId ,IsMailSent etc


2. Schedule a SQL Job which runs daily once and checks PurchaseDate. If the purchaseDate more than or equal to One year then shoot email to that user and set the IsMailSent to True in the database.
 
Share this answer
 

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