session disconnected

  • Thread starter Thread starter Stanley Cheung
  • Start date Start date
S

Stanley Cheung

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
 
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.
 
Hi Nicholas,

actually, i just want to rename the directory name in same drive.
e.g: d:\abc rename to d:\fff

the operation of rename directory is success.. but the application has
logged out

Any advise? Thank you.
steambun


Nicholas Paldino said:
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]
- (e-mail address removed)

Stanley Cheung said:
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
 
Back
Top