CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Global Timer

  1. #1
    Join Date
    Oct 2009
    Posts
    2

    Question Global Timer

    I'm in need of a "global" type timer that will allow me to basically run a clock the entire time someone is on my site, no matter what pages they go to.

    I've played around with the timer available for forms but I didn't see a way to make it continue to run after someone left that page.

    The effect I'm attempting to create is for a timer to start whenever someone hits my site, then every X minutes an event will trigger. This event should happen no matter where they are on the site.

    I've read a couple articles on timers but to be honest I'm fairly new to VB and I didn't know if I really needed to learn about 'threading' etc, to get a timer to work.

    Links to code or articles would be very appreciated.

    Thannks

  2. #2
    Join Date
    Oct 2009
    Posts
    2

    Re: Global Timer

    Forgot to put that I'm running .Net 3.5

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Global Timer

    Have them log in, and you can track that. Much easier. Otherwise, the IIS logs should give IP addresses
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured