`
咚季限定
  • 浏览: 20053 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

转载 投票小程序

阅读更多
if (Request.Cookies["tp"] != null && Request.Cookies["tp"].Value == "true")
Alert("您已经投票过了!");
return;
HttpCookie cookie = new HttpCookie("tp");
cookie.Value = "true";
cookie.Expires = DateTime.Now.AddSeconds(10);
Response.Cookies.Add(cookie);
Alert("投票成功!");
分享到:
评论
1 楼 T我们的爱T 2010-08-07  
这程序是真小啊&

相关推荐

Global site tag (gtag.js) - Google Analytics