How to redirect after a Response.ContentType = "application/vnd.ms-powerpoint"


#1

Hello,

COuld you please help me withe the following code? I want to refresh or redirect or transfert the aspx page after the powerpoint has been sent to the client.

Response.Buffer = True
Me.Response.ContentType = “application/vnd.ms-powerpoint"
Me.Response.AppendHeader(“Content-Disposition”, “attachment; filename=” & Request.QueryString(“fichier”) & “.ppt”)
Me.Response.Flush()
Dim st As System.IO.Stream = Me.Response.OutputStream
Response.Redirect(Server.MapPath(”") & “\upload.aspx”)
Me.Response.End()

Thank you