Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > timer and time out

Reply
Thread Tools

timer and time out

 
 
John Hopper
Guest
Posts: n/a
 
      02-07-2005
I use a timer in a web form to perform an event handler every 8 hours. After
about 16 hours I get a 404 error. I've set the session not to time out. Any
idea what is going on?

Thank you,

 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP]
Guest
Posts: n/a
 
      02-08-2005
If your timer is part of the web form, the timer goes away when the webform
is garbage collected. You should either use a timer in the global file or
write a separate exe or service to handle the timing event.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------


"John Hopper" <> wrote in message
news:FA5A5A3B-9A3A-4D65-A6AF-...
>I use a timer in a web form to perform an event handler every 8 hours.
>After
> about 16 hours I get a 404 error. I've set the session not to time out.
> Any
> idea what is going on?
>
> Thank you,
>



 
Reply With Quote
 
 
 
 
John Hopper
Guest
Posts: n/a
 
      02-08-2005
Thank you!

"Alvin Bruney [MVP]" wrote:

> If your timer is part of the web form, the timer goes away when the webform
> is garbage collected. You should either use a timer in the global file or
> write a separate exe or service to handle the timing event.
>
> --
> Regards,
> Alvin Bruney [MVP ASP.NET]
>
> [Shameless Author plug]
> The Microsoft Office Web Components Black Book with .NET
> Now Available @ http://tinyurl.com/27cok
> ----------------------------------------------------------
>
>
> "John Hopper" <> wrote in message
> news:FA5A5A3B-9A3A-4D65-A6AF-...
> >I use a timer in a web form to perform an event handler every 8 hours.
> >After
> > about 16 hours I get a 404 error. I've set the session not to time out.
> > Any
> > idea what is going on?
> >
> > Thank you,
> >

>
>
>

 
Reply With Quote
 
dotnetkumar
Guest
Posts: n/a
 
      08-03-2005
but why would one want an event to be fired every 8 hrs?!!


"John Hopper" wrote:

> Thank you!
>
> "Alvin Bruney [MVP]" wrote:
>
> > If your timer is part of the web form, the timer goes away when the webform
> > is garbage collected. You should either use a timer in the global file or
> > write a separate exe or service to handle the timing event.
> >
> > --
> > Regards,
> > Alvin Bruney [MVP ASP.NET]
> >
> > [Shameless Author plug]
> > The Microsoft Office Web Components Black Book with .NET
> > Now Available @ http://tinyurl.com/27cok
> > ----------------------------------------------------------
> >
> >
> > "John Hopper" <> wrote in message
> > news:FA5A5A3B-9A3A-4D65-A6AF-...
> > >I use a timer in a web form to perform an event handler every 8 hours.
> > >After
> > > about 16 hours I get a 404 error. I've set the session not to time out.
> > > Any
> > > idea what is going on?
> > >
> > > Thank you,
> > >

> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I know about the shutdown timer, is there a "switch on" timer... Mal Carter Computer Support 3 01-12-2008 01:58 AM
Is time.time() < time.time() always true? flamesrock Python 8 11-24-2006 06:51 AM
page timer, or redirect timer Simon ASP .Net 1 11-04-2005 07:14 PM
System.Timers.Timer/System.Threading.Timer Not Firing At All on Dev Server james.e.coleman@gmail.com ASP .Net 1 02-22-2005 09:41 PM
System.Timers.Timer vs. System.Threading.Timer Kelsang Wangchuk ASP .Net 0 07-31-2003 04:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57