473,471 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

session disconnected

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
Nov 17 '05 #1
2 1575
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

Nov 17 '05 #2
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> ¦b¶l¥ó
news:ed***************@TK2MSFTNGP10.phx.gbl ¤¤¼¶¼g...
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


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: anks | last post by:
I am using jsp for my web based application. All participants enter through login password provided to them. Is it possible to capture the session status information(connected, disconnected time...
15
by: | last post by:
Hi, I want to do things this way: I have a bunch of stuff that I want to keep track of while a user is connected to the site. Maybe 50 little peices of information. So I know I can make 50...
5
by: vincent | last post by:
Hi, If i login to the site again (may be in the same pc or different pc), system must allow me in and end my previous session. How do i go about doing this? This is to ensure that an user...
4
by: Murray Foxcroft | last post by:
Hi all, My client, bless his soul, wants to know how long users of his ASP.NET web application (written by yours truly) spend logged in to the system. Now, I can log when he logs in, no problem,...
1
by: Ather Ali Shaikh | last post by:
Hello I am using Forms Authentication. but the page is not redirect to desired login page after session is expired. When I debug the application. Session_end is called. In the Session_End method...
14
by: Venkat Chellam | last post by:
I have a peculiar problem. I have a simple web application which loads some data from the oracle table and display in the datagrid in the webpage and datagrid has page enabled which shows 10 rows...
4
by: Vince13 via DotNetMonster.com | last post by:
I am trying to set up a page where the user can change data, and then click cancel and the data will not be saved. Currently, I am saving the data in a Session variable that is an array of a class...
5
by: jamie.jamazon | last post by:
I'm currently developing a small MVC framework using classic ASP (don't ask me why!) At it's core it calls the controller script which does the heavy logic and builds disconnected recordsets of the...
3
by: Sems | last post by:
Hi I'm using the Session_End event in the global.asax to detect if a users sessions has ended. Is there any way to tell if the session end is due to it being expired and not abandoned? I'm...
0
by: ofer1 | last post by:
I have user with 3 open session in disconnected state on the same server. I have the sessionid for each remote session with 'qwinsta' command. Is it possible to reconnect to specific session by...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.