Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9120497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:38:27+00:00 2026-06-17T05:38:27+00:00

situation 1: A file is created by a user at a ASP.NET page, maybe

  • 0

situation 1:
A file is created by a user at a ASP.NET page, maybe by clicking on a button.
After that, the user might just go offline (away from the site)
The file will be deleted automatically after 15 minutes.

situation 2:
User A click on a button

Application["count"] = (int)Application["count"] + 1;

After that, within 10 seconds, if there is any other user click on the same button. The value will increment.

Application["count"] = (int)Application["count"] + 1;

Lets says, at the 6th second, no more user is accessing the site.
At the 10th second, the server will automatically carry out some action to do something.

May I know how to do this?
Is there any hints? or Articles that I can start to look/learn?

Thanks you very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:38:28+00:00Added an answer on June 17, 2026 at 5:38 am

    This is a common problem for web sites and the right answer is to build a separate Windows Service which carries out the background tasks.

    There are several kinds of smart tricks to schedule things to be done inside the IIS worker process, but all of them are unsafe because

    1. The application pool might be recycled (i.e. restarted) at any time, loosing internal state such as scheduled events.
    2. The application pool might be shut down due to inactivity.

    Your Windows Service can either expose a WCF service that is called internally by the web site code to schedule stuff or pick up work items from a common database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a user page with a menu that contains a logout button.
Here's the situation: on a certain page within SharePoint, a user clicks a button
Here is the situation : Some process writes lines into a fifo file (created
The situation is easy. I created a rules file: package org.domain.rules; dialect mvel import
I'm writing an intranet ASP.NET page using VB.NET. I've run into a particularly nasty
In this situation, I have created a zip file containing search result files, and
I have a situation where I user IoC (WindsorContainer) in a .Net web application,
I've got a simple web-page that generates a CSV file that I want the
Here is my situation: I have created a QWebview, loaded a Youtube page, and
I have a website in asp.net 2.0 which write some thing on a file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.