Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Use Session instead of temporary storage for temporary data

$
0
0

Hi,

I am using AjaxFileUpload in my application. AjaxFileUpload upload the file first in temporary storage and then SaveAs() method store at new location.

My problem is that our application is deployed in webfarm. When first request goes it store file on Server1 temp directory and in next call for executing UploadComplete method, if request goes to Server2 then it does not find file from temp directory and throws exception.

I want to store the file on session instead of temp directory so that it could work in web farm also.

I don't know how to accomplish it. Should I replace AjaxHandler for it, if yes how?

Thanks,

Sachin Saxena

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles