Click here to Skip to main content
15,885,906 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp Pin
S Douglas23-Aug-11 14:39
professionalS Douglas23-Aug-11 14:39 
GeneralRe: asp Pin
Manfred Rudolf Bihy24-Aug-11 3:42
professionalManfred Rudolf Bihy24-Aug-11 3:42 
GeneralRe: asp Pin
S Douglas24-Aug-11 4:29
professionalS Douglas24-Aug-11 4:29 
GeneralRe: asp Pin
Manfred Rudolf Bihy24-Aug-11 3:39
professionalManfred Rudolf Bihy24-Aug-11 3:39 
GeneralRe: asp Pin
Not Active24-Aug-11 4:21
mentorNot Active24-Aug-11 4:21 
GeneralRe: asp Pin
Manfred Rudolf Bihy24-Aug-11 3:46
professionalManfred Rudolf Bihy24-Aug-11 3:46 
GeneralRe: asp Pin
Not Active24-Aug-11 4:19
mentorNot Active24-Aug-11 4:19 
QuestionStore files temporarily Pin
SummerBulb22-Aug-11 6:48
SummerBulb22-Aug-11 6:48 
Hi,

I have a web form that allows users to upload files while opening a ticket in our system.
The upload is done using the "ajax control toolkit" asyncFileUpload.

Currently, the files are saved to a temp directory and will only be save to the permanent location when the user hits the "commit" button.

I would like to be able to get rid of temp files that are no longer relevant (e.g. The user leaves the page open for a month without posting the form).

What would be the best way to not keep temp files forever.
Maybe keeping them files in the session?
Maybe keeping them in the viewstate?

I could add some JS to the page with a timeout and add some code that runs when the user leaves the page. But these ideas are client side solutions. I wouldn't want someone to tamper with the code and leave me rubbish on my system.

Any other idea?

Thanks,
Summerbulb
AnswerRe: Store files temporarily Pin
GenJerDan22-Aug-11 7:04
GenJerDan22-Aug-11 7:04 
AnswerRe: Store files temporarily Pin
David Mujica22-Aug-11 7:41
David Mujica22-Aug-11 7:41 
QuestionLINQ Help required Pin
salmonraju22-Aug-11 6:24
salmonraju22-Aug-11 6:24 
AnswerRe: LINQ Help required Pin
Shameel22-Aug-11 9:44
professionalShameel22-Aug-11 9:44 
GeneralRe: LINQ Help required [modified] Pin
Not Active23-Aug-11 3:03
mentorNot Active23-Aug-11 3:03 
GeneralRe: LINQ Help required Pin
Shameel23-Aug-11 4:12
professionalShameel23-Aug-11 4:12 
JokeRe: LINQ Help required Pin
Manfred Rudolf Bihy24-Aug-11 6:17
professionalManfred Rudolf Bihy24-Aug-11 6:17 
AnswerRe: LINQ Help required PinPopular
Not Active22-Aug-11 16:32
mentorNot Active22-Aug-11 16:32 
QuestionBackground images not displayed in asp.net page Pin
keniagm21-Aug-11 22:46
keniagm21-Aug-11 22:46 
AnswerRe: Background images not displayed in asp.net page Pin
thatraja22-Aug-11 17:53
professionalthatraja22-Aug-11 17:53 
GeneralRe: Background images not displayed in asp.net page Pin
keniagm22-Aug-11 22:48
keniagm22-Aug-11 22:48 
GeneralRe: Background images not displayed in asp.net page Pin
Raman Ghantiyala30-Aug-11 20:06
Raman Ghantiyala30-Aug-11 20:06 
AnswerRe: Background images not displayed in asp.net page Pin
Mukund Thakker23-Aug-11 23:31
professionalMukund Thakker23-Aug-11 23:31 
AnswerRe: Background images not displayed in asp.net page Pin
Shameel27-Aug-11 4:26
professionalShameel27-Aug-11 4:26 
QuestionHow to attach mdf file to Crystal Report in VS2008 Pin
praveengb21-Aug-11 19:48
praveengb21-Aug-11 19:48 
AnswerRe: How to attach mdf file to Crystal Report in VS2008 Pin
S Douglas23-Aug-11 14:43
professionalS Douglas23-Aug-11 14:43 
GeneralRe: How to attach mdf file to Crystal Report in VS2008 Pin
praveengb23-Aug-11 19:39
praveengb23-Aug-11 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.