This is a simple voting page. It is supposed to deposit a cookie on the user machine that gives the month for the last vote. It is depositing the cookie with a value of 1, check out the code below.<BR><BR>if lastvote = curmonth then<BR> <BR> Response.Write("You are only allowed one vote per month. Please wait to next month and vote again.")<BR><BR>else<BR><BR> updateSQL = "update tbl_co_employees set vtally = vtally + 1 where id = " & id<BR> db(updateSQL)<BR> <BR> tempRSSQL = "select * from tbl_co_employees where id = " & id<BR> set tempRS = dbRS(tempRSSQL)<BR><BR> strMessage = "Your vote has been cast for: "<BR> strMessage = strMessage & tempRS("fullname")<BR><BR> Response.Write(strMessage)<BR> <BR> Response.Cookies("lastvote")=month(date)<BR> Response.Cookies("lastvote").expires = dateadd("m",1,date)<BR><BR> end if<BR><BR>The problem is, it is not evaluating the current month equal to the month in the cookie, which it should be. Request.cookies("lastvote") returns a 1. And month(date) returns a 1.<BR><BR>Yaargh! I am thinking maybe it has something to do with the data types, perhaps one of them is being seen as an integer and one as a character of some sort?<BR><BR>Thoughts?