F
Funky
Hi,
I have developed an ASP.NET application which has been running in
production for around 3 months without any major glitches. Recently, a
user was attempting to upload a rather large CSV file and ran into a
strange problem.
After roughly 3 minutes of processing, the application reprompted the
user for their user name and password (NT authentication). At this
point, the ASP.NET page re-fired the last event that it was processing.
For a bit of more detailed background on the process:
1 User chooses a CSV file to upload
2 User clicks "Upload" and the page reposts.
3 The page saves the CSV file and validates each record
4 Upon validating, the records are created as individual objects, and
added to an ArrayList
5 This ArrayList is then stored in Session.
6 The user clicks "Proceed with upload".
7 The page reposts and submits the records to a backend system via a
web service.
8 At around about 3 minutes, the user is repromted for their username
and password.
Upon investigation, this event occurs whilst the records are still
being processed. The remaining records are sent to the web service, but
then the web service calls begin again from the start, so the records
are added twice. The system is supposed to redirect the users to
another page once the upload has finished.
I have tested if it is the AppPool recycling and junking the Session
data, but it is not since I have set the recycle events to log in the
event log, but nothing appears.
Some other important info:
- Session timeout is 20 mins.
- Script timeouts 10 minutes
- Site uses SSL
- IIS 6.0 on Win Server 2003
Has anyone encountered this error before or get any tips of what might
be playing up?
Thanks in advance for any suggestions.
Cheers,
Rowan.
I have developed an ASP.NET application which has been running in
production for around 3 months without any major glitches. Recently, a
user was attempting to upload a rather large CSV file and ran into a
strange problem.
After roughly 3 minutes of processing, the application reprompted the
user for their user name and password (NT authentication). At this
point, the ASP.NET page re-fired the last event that it was processing.
For a bit of more detailed background on the process:
1 User chooses a CSV file to upload
2 User clicks "Upload" and the page reposts.
3 The page saves the CSV file and validates each record
4 Upon validating, the records are created as individual objects, and
added to an ArrayList
5 This ArrayList is then stored in Session.
6 The user clicks "Proceed with upload".
7 The page reposts and submits the records to a backend system via a
web service.
8 At around about 3 minutes, the user is repromted for their username
and password.
Upon investigation, this event occurs whilst the records are still
being processed. The remaining records are sent to the web service, but
then the web service calls begin again from the start, so the records
are added twice. The system is supposed to redirect the users to
another page once the upload has finished.
I have tested if it is the AppPool recycling and junking the Session
data, but it is not since I have set the recycle events to log in the
event log, but nothing appears.
Some other important info:
- Session timeout is 20 mins.
- Script timeouts 10 minutes
- Site uses SSL
- IIS 6.0 on Win Server 2003
Has anyone encountered this error before or get any tips of what might
be playing up?
Thanks in advance for any suggestions.
Cheers,
Rowan.