I'm new to cookies and for about 20 hours during the past two days have been banging my head over this problem and have developed nothing but a huge headache.
I have a large form for a college website that I need submitted anonymously by students to evaluate their courses for this semester. I am trying to use the cookie(s) to prevent them from evaluating a single course more than once, although they can evaluate more than one course (i.e. IT101, IT202, IT303) by accessing the form again. I've made the course number field (via a select box) the only required field.
How do I code the cookie so as to allow them to evaluate another course and (so I was thinking) not see the course they've already evaluated in the select box (so as to avoid spamming a course with negative ratings if they have a bug up their butt)?
If nothing else, I'd be satisfied with letting them waste their time filling out the form again and get rejected because they have already evaluated that particular course.
I've come to realize that this is beyond my knowledge, and hours and hours of Googling is not going to solve this problem. Any help (and especially coding examples) would be greatly appreciated.
Thanx!
I have a large form for a college website that I need submitted anonymously by students to evaluate their courses for this semester. I am trying to use the cookie(s) to prevent them from evaluating a single course more than once, although they can evaluate more than one course (i.e. IT101, IT202, IT303) by accessing the form again. I've made the course number field (via a select box) the only required field.
How do I code the cookie so as to allow them to evaluate another course and (so I was thinking) not see the course they've already evaluated in the select box (so as to avoid spamming a course with negative ratings if they have a bug up their butt)?
If nothing else, I'd be satisfied with letting them waste their time filling out the form again and get rejected because they have already evaluated that particular course.
I've come to realize that this is beyond my knowledge, and hours and hours of Googling is not going to solve this problem. Any help (and especially coding examples) would be greatly appreciated.
Thanx!
Comment