Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 3rd, 2009, 06:39 AM
Authorized User
Join Date: May 2006
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to pratik28
Default running thread with out problem in Web application


I am trying out a logic to send new letters to clients and i need it to be done in regular interval.

So i have thought of running a thread in Application_start in Global.asax and to invoke the method that would send new letters via thread.

But i have second thought what if running site crashes and thread stops and ultimately the method to send new letters and won't start again. I think after site crash it won't start until a user request for a page of the site again.

So can anyone impart me how the site and thread behaves in this case scenario. Is there a way we make it work such that the process to send new letters never gets affected by site crash(please note: we can make scheduler exe, but i need a different solution).

Thanks in advance

Similar Threads
Thread Thread Starter Forum Replies Last Post
WroxUnited C# application running problem lisan_uoda BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 December 30th, 2008 09:04 AM
Problem running Application on network hellian Apache Tomcat 1 June 7th, 2007 11:44 PM
Error while running a web application Param .NET Web Services 9 October 8th, 2004 02:29 PM
running .exe file in web application exactlynn General .NET 0 May 5th, 2004 11:54 PM
problem in running first web application ankit_29882 JSP Basics 2 February 11th, 2004 08:04 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.