Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a situation where I need to submit a job from aspx page. The page needs to be terminated as soon as it submits the job and the job should run in background and once done emails will be send to the users.

Please guide me for the same.

Thanks in advance !!



Regards,
Divya
Posted

Use ASP.NET Background worker. It starts process in background.
For example refer to:
http://www.dotnetfunda.com/articles/article613-background-processes-in-asp-net-web-applications-.aspx[^]
 
Share this answer
 
Comments
Divymital 17-Dec-10 5:01am    
Hi.. It helped me and I am able to submit the background job.. But the issue is that on partial post back I am using the functionality mentioned in the link. And untill thw baxkground job is not completed I am not able to do anything on the webpage. If I close the web page the bacjground job works well ..
thatraja 20-Dec-10 2:41am    
Very good one
Check this[^] discussion out as well.
 
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