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. Is there any way i can reset the application level variable without resetting iis server

Is there any way i can reset the application level variable without resetting iis server

Scheduled Pinned Locked Moved ASP.NET
sysadminwindows-adminhelp
3 Posts 2 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
    sabby2006
    wrote on last edited by
    #1

    Hello I have application whose application level variables need to be reset. This can be done by resetting the IIS. But the problem is that the server is having other applications also. this will reset for all the applications I want to know is there any way i can reset for a particular website hosted with IIS.

    Regards

    V 1 Reply Last reply
    0
    • S sabby2006

      Hello I have application whose application level variables need to be reset. This can be done by resetting the IIS. But the problem is that the server is having other applications also. this will reset for all the applications I want to know is there any way i can reset for a particular website hosted with IIS.

      Regards

      V Offline
      V Offline
      VanithaVasu
      wrote on last edited by
      #2

      I am not very sure but try ur declaration part in the Global.asax file where it contains Application_Start event. Here u can empty or Dispose all the variables and again declare. Let me know it is working or not.

      VanithaVasu

      S 1 Reply Last reply
      0
      • V VanithaVasu

        I am not very sure but try ur declaration part in the Global.asax file where it contains Application_Start event. Here u can empty or Dispose all the variables and again declare. Let me know it is working or not.

        VanithaVasu

        S Offline
        S Offline
        sabby2006
        wrote on last edited by
        #3

        Thanks for the reply The problem is that i cant make changes to the code as the client has already hosted the application. its thru something like this i have to do it. something like iisreset. but this should be for a particular application.

        Regards

        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