Hi, everybody.
I'm using database to store attachment for Load Balance considering, and I download my attachment using the following statment
Dim Buffer As Byte() = CType(dr("Content"), Byte())
Response.ContentType = CStr(dr("FileType"))
Response.AddHeader("Content-Disposition", "attachment;filename=" & dr("FileName"))
Response.BinaryWrite(Buffer)
Response.Flush()
Response.End()
It provide client user a dialog to Open or Save, I notice that when I click "Save" it works fine, but I click "Open" it cannot work(the application like notepad opens and cannot find the file)
But when I logout the DotNetNuke, the Open works well. It only don't work on Log in mode.
What's the problem, can anyon help? thanks a lot.