Hi,
We are having a web application build using asp.net 3.5 & sql server as database which is quite big and used by around 300 super users for managing around 5000 staffs. Now we are implementing SMS functionality into the application which means the users will be able to send and recieve sms. Every two minute the sms server of the third party is pinged to check whether there are any new messages. Also sms are hold in queue and send every time interval of 15 to 30 minutes.
I want this checking and sending process to run in the background of the application all the time, even if the user closes the browser window. I need some advice on how do i do this ?
Will using thread will achieve this or do I need to create a windows service for it or are there any other options ?
Regards
Vinay
More information:
I want to execute a task in a timer, what will happen if I close the browser window, the task wont be completed isnt`it so.
For example I am saving 10 records to the database in a time interval of 5 minutes, which means every 5 minutes when the timer tick event fires, a record is inserted into the database.
How do i run this task if i close the browser window.
I tried looking at windows service but how do i pass a generic collection of data to it for processing.
Please give me some insight on how to do this .