p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET Website Programming Problem-Design-Solution (http://p2p.wrox.com/forumdisplay.php?f=23)
-   -   Bug happens (http://p2p.wrox.com/showthread.php?t=4907)

guoqi October 13th, 2003 01:35 PM

Bug happens
 

There is a bug inside download.aspx.vb.

The line is:
Response.AddHeader("Content-Disposition", "attachment filename=" _
              & theFile.Name)

The correct code should be:

Response.AddHeader("Content-Disposition", "attachment; filename=" _
              & theFile.Name)





All times are GMT -4. The time now is 08:37 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.