Last post Sep 19, 2009 12:25 PM by benrick
Sep 18, 2009 04:16 PM|jaden404|LINK
When I retrieve an image from a database using a Handler, if I try to save the file the filename is simply the name of the Handler. Since I am also pulling down the name of the image, is there a way to set the image name to that when someone tries to "Save
Sep 19, 2009 12:25 PM|benrick|LINK
You can use URL rewriting
What you can do is make it so that all requests to this
redirects to this
Then when you get it from the database and show it the address used to access it will be the name of the file.
Note: you will need to map the jpg extension or a wildcard to asp.net.
I hope that helps,