Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To avoid cross-posting....

Status
Not open for further replies.

gbaughma

IS-IT--Management
Staff member
Nov 21, 2003
4,772
US
Please see thread333-1508362



Just my 2¢

"What the captain doesn't realize is that we've secretly replaced his Dilithium Crystals with new Folger's Crystals."

--Greg
 
which is it asp or asp.net?
if it's asp. then you need to stick with the asp forum (try another forum site maybe)
if it's asp.net then use a handler to stream the file. you can either create your own and register it in the web.config, or you can create a generic handler (ashx) and put the logic in the Process(...) member.

for more information on this google generic handler IHttpHandler and registering handlers to web.config

for the implementation details.
1. validate user
2. validate where the user is coming from
3. if both are valid, load file and stream to response, else redirect to appropriate page

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top