Question : Running html code before Asp Redirect

I'm trying to run some code on my page, that needs to load html on the top of the page, and then ASP redirect, to redirect the page.
Seems that it's skipping over my html and just redirecting.
What can I do to make sure it loads the html too?
1:
2:
3:
4:
5:
6:
7:
8:
<html xmlns="http://www.w3.org/1999/xhtml">


<body>
<p><img src="icareS.aspx?t=<%=request.querystring("t")%>&amp;char=<%=request.QueryString("char")%>&amp;l=<%=request.QueryString("l")%>"  width="101" height="99" /></p>
<%
response.Redirect("download.asp?file=icare4kids/" & request.QueryString("l")  & ".jpg")
%>

Answer : Running html code before Asp Redirect

Use META refresh instead. The below example will redirect in 5 seconds.
1:
2:
3:
4:
5:
6:
7:
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title>
<meta http-equiv="refresh" content="5;url=download.asp?file=icare4kids/<%=request.QueryString("l")%>.jpg">
</head>

<body>
<p><img src="icareS.aspx?t=<%=request.querystring("t")%>&amp;char=<%=request.QueryString("char")%>&amp;l=<%=request.QueryString("l")%>"  width="101" height="99" /></p>
Random Solutions  
 
programming4us programming4us