Hit Counter

Results 1 to 2 of 2

Thread: Hit Counter

  1. #1
    Venkatesh Babu Guest

    Default Hit Counter

    I am maintaing a hit counter in Application_Onstart. The problem is as soon as the server gets restarted my hitcounter starts from one. How do i debugg this error that is my hitcounter has to start from the previous values.

  2. #2
    James W. Guest

    Default RE: Hit Counter

    It is not an error. Application variables, by definition, last as long as your application. When rebooted, the server starts a new copy of the application and therefore new app variables. <BR>Try entering the number in a DB or read an article here on 4guys about hitcounters.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts