Sorry, but that was it.
Basically I am renaming the directory
I had a diretory called > MyDirectory
MyDirectory (contents)
[quoted text, click to view] > Image1.jpg
> Image2.jpg
Directory.Move(MyDirectoryPath, MyNewDiretoryPath)
Note: the directory was renamed fine but only all sessions were lost.
Note: The directory has nothing to do with being inside of the /bin
directory
Note: The directory has nothing to do with the web.config file.
I am aware of modifiying the above file swould result in a app restart.
Simply... I am renaming a folder and it is restarting my application.
I have noticed posts regarding this with no resolution. Are ASPNET sessions
so buggy that renaming a folder will dump all sessions?
Thanks
Ron
[quoted text, click to view] "Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
news:gLzz$lGHEHA.612@cpmsftngxa06.phx.gbl...
> Hi Ron,
>
> From your description, you encoutered the recycling and session lost in
> your web application after some certain operations. You mentioned the
> "Directory.Move and IO action".
> I'm not very sure on the detail of the IO Action you mentioned, would you
> please provide some further description on it?
>
> In addition, As far as I know, the following operations will cause the
> ASP.NET workprocess or appdomain recycle and which will cause all the
> Sessions lost:
> 1.Modify the machine.config file on of the server machine
>
> 2.Modify the web.config file of the application
>
> 3.Do some certain modification in the ASP.NET Webapplication's private
> "bin" folder( the ASP.NET will moinitor any changes in this folder)
>
> 4.Any internal error occurs which exceed the processModel's certain
> limitation. This is set in the machine.config's <processModel> element.
>
> Please have a check to see whether the IO action have cause any of the
> above things. Thanks.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure!
www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
> Get Preview at ASP.NET whidbey
>
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
>