Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Start a process on Page_Load but dont wait for it!!

Start a process on Page_Load but dont wait for it!!

Scheduled Pinned Locked Moved ASP.NET
designhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    student_rhr
    wrote on last edited by
    #1

    Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.

    C M 2 Replies Last reply
    0
    • S student_rhr

      Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Write it as a windows service and start it in page load, if that's the right place. Application start seems more likely.

      Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

      1 Reply Last reply
      0
      • S student_rhr

        Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.

        M Offline
        M Offline
        metallica_rock10
        wrote on last edited by
        #3

        Use response.flush

        http://aspdotnetnstuff.blogspot.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups