How to implement counter?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: How to implement counter?

    There are many ways to do this. The low tech low impact way is the create an
    application variable inthe Application start, that reads in a value from a
    file, in Application OnStop write it back, and increment the value in the
    home page or login processes. Downside is you loose the counter if you crash
    and burn. (But that never happens ;) )

    Tom

    --
    ==========================================
    = Tom Vande Stouwe MCSD.net, MCAD.net, MCP
    = 45Wallstreet.com ([url]www.45wallstreet.com[/url])
    = (803)-345-5001
    ==========================================
    = If you are not making any mistakes
    ..= ..you are not trying hard enough.
    ==========================================
    "Kian Goh" <kiangoh2700544@hotmail.com> wrote in message
    news:uu57DFgUDHA.372@tk2msftngp13.phx.gbl...
    > Hi there,
    >
    > I wonder if there is a simple way to implement counter to keep track of
    > number of visit?
    >
    > Certainly, I don't want to use database to store this value. Any idea?
    >
    > Thanks,
    > Kian
    >
    >

    Tom Vande Stouwe MCSD.net Guest

  2. Similar Questions and Discussions

    1. How to implement a MXP
      Like everything, this started simply. I want to provide breadcrumb navigation to my site. Thus after a little research I found two references:...
    2. RFC: DBIx::Counter - persistent counter class
      Hi, I've been a CPAN consumer for so long, I thought it's about time to start contributing. I wrote a little module that does exactly the same as...
    3. Free Network Tools - Random Password Generator - Link Counter - Hit Counter
      Free Network Tools - Random Password Generator - Link Counter - Hit Counter http://www.sharewareisland.com/onlinetools.asp
    4. hit counter or page counter
      Hi, I need to have a page counter to see how many people access my website. How can this be done? In FrontPage, it's called hit counter. Thanks.
    5. How to implement MVC.. Flash Example
      I've been reading up on MVC as I've heard that is the "Best Practice" for building an RIA with Flash. Can someone provide me an example of how that...
  3. #2

    Default How to implement counter?

    You can always write it to a file.

    Tu-Thach
    >-----Original Message-----
    >Hi there,
    >
    >I wonder if there is a simple way to implement counter
    to keep track of
    >number of visit?
    >
    >Certainly, I don't want to use database to store this
    value. Any idea?
    >
    >Thanks,
    >Kian
    >
    >
    >.
    >
    Tu-Thach Guest

Posting Permissions

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

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139