> Anybody have any clean, elegant solutions to this? I have a feeling I'm
> just going to create the order record when they start an order and then
> cleanup later the orders that were never finished.
1) In Session_Start, create a folder with the same name as the Session, and
use that folder for any "temporary" files.
2) As required, move the uploaded file(s) into a permanent folder structure.
3) In Session_End, delete the temporary folder.

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Mufasa - 30 Aug 2007 22:31 GMT
Thanks. That looks real promising.
>> Anybody have any clean, elegant solutions to this? I have a feeling I'm
>> just going to create the order record when they start an order and then
[quoted text clipped - 7 lines]
>
> 3) In Session_End, delete the temporary folder.
bruce barker - 30 Aug 2007 23:27 GMT
just remember session_end is not reliable (not called with a recycle),
so you will still need cleanup logic. also only inproc sessions support
session_end
-- bruce (sqlwork.com)
> Thanks. That looks real promising.
>
[quoted text clipped - 8 lines]
>>
>> 3) In Session_End, delete the temporary folder.
Mark Rae [MVP] - 30 Aug 2007 23:50 GMT
> just remember session_end is not reliable (not called with a recycle), so
> you will still need cleanup logic. also only inproc sessions support
> session_end
Yes, that's true...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net