Last post Jan 20, 2014 10:39 PM by chetan.sarode
Jan 20, 2014 08:37 AM|zzchixo|LINK
i would like to make a small survey among employees, example
question: do you like apple?
I do not want the same person to vote twice or vote from differnet browsers.
Can you please tell how to do that?
Jan 20, 2014 11:49 AM|kaushalparik27|LINK
I do not want the same person to vote twice
I would recommend to maintain a database table for SurveyStatus that may have StatusID (PK), SurveyID (FK to Survey table), UserID (FK to User table) and IsCompleted (to store 1 or 0: this field will store 1 if survey is completed by user and 0 otherwise).
This way, when any user try to initiate the Survey to answer; you can check against this table that whether user has already answer this survey or not, and can stop user not to vote twice if found record with IsComplete=1 for the survey.
vote from differnet browsers.
If you can provide some more details on what about vote from different browsers, it will be helpful to get more hint.
Jan 20, 2014 10:39 PM|chetan.sarode|LINK
Refer this -