Stanley,
It's highly unlikely that moving the files caused the session to
disconnect.
What is more likely is that you have an exception that is thrown, which
is not caught, or even worse, it is caught, and ignored, or causes some
other corruption of state.
Can you verify that the operation is in fact, succeeding? My guess is
you are trying to copy a file to a network share, without configuring the
correct identity to run that operation under (since by default, you are
running under ASPNET).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Stanley Cheung" <st*****@starlabz.com> wrote in message
news:ed*************@tk2msftngp13.phx.gbl...
Hi all,
I hava a strange problem.
After the system perform "DirectoryInfo.MoveTo", all the session and
viewstate has reseted.. it make my application auto logout....
is it a known bug in .net framework1.1?
anyone can help? Thanks in advanced.
steambun