prova così:

codice:
window.location.href="download.asp?xls=<%=temp_excel_file; %>";
ciao