Posted on: 3/11/2011 11:40:45 AM | Views : 256

Hello All,
 
This is my issue. The application will return file to user according to the input, currently the file is first generated and stored on server, then send the file back to user, for avoiding conflict, I append a guid as prefix for each file. like ‘Guid+Name.txt’, then when it is sent to customer, I specify the received file name to be 'Name.txt'. I add the path of this file to session and in the session_end event, I delete all the files in the session.
Here are my issues:
1. There are some scenarios that the returned file would be a .zip file which consists of the above single file, in this case, I am only able to specify the name of returned zip file, but in the .zip file, I am not able to delete the guid of the single file name, the client has to manually delete the guid. Are there any solutions for this issue?
 
2. I wanna know whether that is a good idea to store the file path in session and delete ...

Go to the complete details ...