Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2002
Posts: 362
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 362
I'm currently trying to do a research project through my college - it's a program evaluation of my online community.

I was able to sift through Josh's "Contact Us" mod to create a survey that collects users' responses and then emails it to me.

The problem is this:

I'm not allowed to collect identifying information - IPs, user numbers, etc.

But, I need to figure out a way to set a cookie or something so that users can't take the survey again. I thought about creating a flag in the database, but then I could still track what users have completed the survey and the ethics committee at school won't like that.

I can't have any clue about who participated.

Sooooo, anyone have any thoughts? I understand that if I did it with a cookie people could just delete it, and retake it, but it seems like the only way for me to do it without having extra information, which could identify the participants.


I'm open to any suggestions or ideas.

-peter

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You could create a table to record who took the survey, but make it anonymous like this.

Create an MD5 hash (one way encryption) on thier login name (which never chnages).

When they enter the survey form, check if that hash already exists in the db. If it does, stop them. If it doesn't, then write it to the table and let them take the survey.
That way - assuming you're requiring them to be logged in, they can only do one survey per user.

Joined: May 2002
Posts: 362
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 362
I'm not requiring them to be logged in though.... Couldn't I look in the database and see if there is a hash there - which would mean they took the survey, no hash means they didn't? I'm not saying I would. But, the ethics committee would say that if I have access, someone else could gain access and potentially compromise the data.

See, I'm not even allowed to know that kind of information.

[This is all built on the fact that I'm saying it's a completely anonymous survey.]

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, it wouldn't work for anonymous users.

What I was suggesting was a separate table, which would only contain hashes of people who took the test. There'd be no other info there - and MD5 is a one way encryption. So you won't have anyway to know.

I guess for anonymous users you could encrypt thier IP address and use that instead. But either IP address or cookie aren't fool proof. Like you said, peopel could delete the cookies (or change their IP). So either way would work just as well.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)