Search code examples
c#asp.netsessionresourcesresx

Asp.net resx file update without ending session?


I have globalresource file when i'm updating a value then automatically logout from the web site and i need to login again to change another value.

Can we update language files (resx) without session logout?

I need a solution for this situation.

Thanks,


Solution

  • What is your current Session storage/mode? If it's memory (InProc), then an application recycles will clear Session data. You'll need to use different mode/storage that survives application recycling - e.g. StateSever or SQLServer

    ASP.NET File Change Notifications, exactly which files and directories are monitored?

    2) The bin, App_Code, App_WebReferences, App_GlobalResources, and App_Browsers subdirectories of the application root folder are monitored for creation, deletion, renaming, ACL changes, changes to the last-write time, and changes to the size. If any of these things change, the AppDomain is unloaded.....

    Hth...