B
Brandon Potter
Simple question --
I have an ASPX page that accepts the ID of a document in the query string to
be downloaded; however, the file is not in the web application and has to be
read from another directory.
Furthermore, I need to be able to check some session variables to make sure
the user has permission to download that document and didn't just change the
querystring ID.
Since the file is being passed to the user via the Response stream is there
any way to change the name of the file that the browser downloads by default
to be something other than the name of the ASPX page?
Brandon
I have an ASPX page that accepts the ID of a document in the query string to
be downloaded; however, the file is not in the web application and has to be
read from another directory.
Furthermore, I need to be able to check some session variables to make sure
the user has permission to download that document and didn't just change the
querystring ID.
Since the file is being passed to the user via the Response stream is there
any way to change the name of the file that the browser downloads by default
to be something other than the name of the ASPX page?
Brandon