how can i make the captcha refresh autometically ???? please help
this is
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Drawing"%>
<%@ Import Namespace="System.Drawing.Imaging"%>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Random Rand = new Random();
int intNum = Rand.Next(100000, 999999);
Bitmap Bmp = new Bitmap(90, 50);
Graphics Gfx = Graphics.FromImage(Bmp);
Gfx.Clear(Color.White);
Font Fnt = new Font("Fandango", 13, FontStyle.Bold);
Gfx.DrawString(intNum.ToString(), Fnt, Brushes.Red, 15, 15);
int RandY1 = Rand.Next(0, 50);
int RandY2 = Rand.Next(0, 50);
Gfx.DrawLine(Pens.Black, 0, RandY1, 90, RandY2);
RandY1 = Rand.Next(0, 50);
RandY2 = Rand.Next(0, 50);
Gfx.DrawLine(Pens.Black, 90, RandY1, 0, RandY2);
RandY1 = Rand.Next(0, 50);
RandY2 = Rand.Next(0, 50);
Gfx.DrawLine(Pens.Black, 0, RandY1, 90, RandY2);
Bmp.Save(Response.OutputStream, ImageFormat.Gif);
Session["VerfiNum"] = intNum;
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>CaptchaImage</title>
</head>
<body>
</body>
</html>