Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 ASP.NET4.0
hi..
i want code for how to set start time for run global.asax file in asp.net.
please help me.
 

 
thanks in advance..
Posted 16-Nov-12 2:27am
NaniCh712

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Your question is really not very clear, but I'll take a crack at this one.
I think you may be talking about Simple Task Scheduling. If this is the case, this[^] article may be of some use to you.
  Permalink  
Comments
NaniCh at 16-Nov-12 9:35am
   
I want code for i fix the run global.asax file for certain time. for that time should start the running global.asax file in our project.. how is it possible...???
Marcus Kramer at 16-Nov-12 9:51am
   
Sorry, but that makes no sense whatsoever. Your global.asax file will run to handle certain generic events on your web application. As long as your web app is turned on, the global.asax file will handle those events. If you want to constrain the execution of actions in these handlers by time, then you could always add a if current time is between such and such then do this stuff type of logic into the handlers themselves.

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

  Print Answers RSS
0 CPallini 350
1 Sergey Alexandrovich Kryukov 320
2 BillWoodruff 309
3 George Jonsson 274
4 OriginalGriff 237
0 OriginalGriff 4,903
1 CPallini 3,960
2 Sergey Alexandrovich Kryukov 3,474
3 George Jonsson 2,786
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web02 | 2.8.140905.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100