HttpHandler Redirection

B

Brian Patterson

I have an HttpHandler that I use for processing file downloads. This files
are currently contained within a database and everything works great. The
problem I'm having is that if someone requests a file that doesn't exist -
they are currently getting and emply file rather than the standard Error 404
page. I'd prefer to be able to redirect them to the stanard 404 page but
can't figure out how this is done. Can someone help me out with this?

TIA
Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,153
Latest member
NamKaufman
Top