IIS recycle

Discussion in 'ASP.NET 2.0' started by kieran5405, Mar 18, 2009.

  1. Hi,

    Im using sessions in asp.net2.0 and want to keep my site alive to stop the IIS recycle as i read the recycle can cause sessions to be lost...which is happening for me.

    If I put a simple batch file just containing - ping mysite.com - on my server scheduled using my 15 min scheduled task...would this stop IIS from recycling my web app.

    Thanks...
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    no. ping does not consider activity to the site. only http request.
     
  3. Hi Bruce,

    Thanks for the update.

    Another question if I may.

    If I write a .Net windows app in the form of an .exe which does a http request to the home page of website...will this work i.e. is there any policy of not allowing any .exe etc...

    Thanks...
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    that should technically work. We do not have specific instruction against this.
     

Share This Page