ASP.NET数据传递:写入META信息
在纯为了数据处理与传递的页面适用
1Response.ContentEncoding = Encoding.UTF8;
2Response.ContentType = "text/html";
3Response.Charset = "UTF8";
4Response.Write(
5"<META NAME=\""+MateName.ToLower()+"\" CONTENT=\"" + Message.ToLower() + "\">");
6Response.End();
需要在页面中注意进行身份和参数的识别,防止恶意访问2Response.ContentType = "text/html";
3Response.Charset = "UTF8";
4Response.Write(
5"<META NAME=\""+MateName.ToLower()+"\" CONTENT=\"" + Message.ToLower() + "\">");
6Response.End();