Download File, then Redirect [2005]
I need a button to do a response.redirect to two places, is this possible.
When the button is clicked it runs a procedure to write a file.
I need the last thing it does to be:
Code:
Response.Redirect("filepath/filename")
'to Download the file
Response.Redirect("default.aspx")
'to return them to home
It obviously doesn't work because it stops at the first redirect command.
I tried some server.transfer, I tried the response.redirect("file", false).
All to no avail. Any solution?
Re: Download File, then Redirect [2005]
I think you should ask this in the ASP .Net forum.