protected void Page_Load(object sender, EventArgs e) { Response.Expires = -1; width = URLHelper.GetRequestQuery <int>("w", width, Convert.ToInt32); height = URLHelper.GetRequestQuery("h", height, Convert.ToInt32); //string checkCode = CreateRandomCode(4); string checkCode = RandomCode.GetRandomCode(StringPlus.NumberConst, 4); Session["CheckCode"] = checkCode; //checkCode; RandomCode.ResopnseColorImage(Context, width, height, checkCode); //CreateImage(checkCode); }