Most AJAX libraries include code for constructing http POST requests and submitting them. A lazier way of doing it would be for Javascript to construct a hidden form with a POST method, fill it out, and submit it. That would cause a page refresh of course, which may or may not be desirable. Except....
Quote:
|
Originally Posted by tommynanda
I want to Upload a file to this ASP .NET webpage with out user intervention.
|
would probably cause security hassles. A lot of people really do not like the idea of having random web sites pulling arbitrary files off their local harddrive without their say-so. For obvious reasons. Any system that allows it would have to be considered vulnerable and in need of fixing.
__________________
On two occasions I have been asked [by Members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
|