If the sub directory is linked to another directory (as conjunction), then updating that sub directory would not trigger application restarts. For example my application is in C:\MyApp and the sub directory is C:\MyApp\SubDir. I should create another directory, for example C:\MyAppSubDirLink. Then download Window Server 2003 Resource Kit (here) and install it.
The resource kit has "linkd" command, which is all we need to get this working. Run the following in command prompt:
linkd C:\MyApp\SubDir C:\MyAppSubDirLink |
That's it! Now you can update C:\MyApp\SubDir without restarting the web application, and therefore session variable would be preserved!
No comments:
Post a Comment