asp_components thread: Response.Redirect after downloading a file with ASPsmartUpload
As the title says I cannot redirect after downloading a file using the
ASPsmartUpload component. I am trying something like this...
<%
...
Dim mySmartUpload
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.DownloadFile("/80-Download/" & tmpFileName)
Response.Redirect "default.asp?pageID=" & page
%>
Where tmpFileName is the file name and page is just another variable set
before this piece of code.
If I remove the Response.Redirect line it will work, however I want to
redirect the page. This is because when the user has reached this point
the user has just entered a username and a password, and after downloading
with the ASPsmartUpload component this page will still be the current
page...
default.asp -> login.asp -> download.asp
I want to return to the original page (default.asp)
I would be greatfull if you have got a solution to this dilemma!
Kind regards Jacob.