<!--#include file="conn.asp"-->
<% 
thisid=request("voteid")
if request.Cookies("vote"&thisid)="pubvote_"&thisid then 
	Response.Write("&back=你已经参与过此投票，谢谢")
	closedb
else
	response.Cookies("vote"&thisid)="pubvote_"&thisid
	response.Cookies("vote"&thisid).expires="2008/10/26"
	response.Cookies("vote"&thisid).domain=request.ServerVariables("SERVER_NAME")
	cs=request("mychoose")
	conn.execute "update votepro set cs_"&cs&"_num=cs_"&cs&"_num+1 where id="&thisid
	Response.Write("&back=投票已经送达，谢谢参与")
	closedb
end if
%>