Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to send a cookie or something to client?

0 views
Skip to first unread message

Carl

unread,
Jul 14, 2008, 4:36:58 PM7/14/08
to
Hi,

i have an application for internet survey. I would like to send a cookie or
something to each client who fills the survey form in order to impede him to
fill the form several times.
Any hints are welcome.
Carl


John Timney (MVP)

unread,
Jul 14, 2008, 5:07:38 PM7/14/08
to
Whats to stop them just moving to another machine and doing it again.

Why not issue them with a one off password instead and record on the server
the fact that they have already completed the survey.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"Carl" <n...@dd.dd> wrote in message
news:e0FoaFf5...@TK2MSFTNGP03.phx.gbl...

Carl

unread,
Jul 14, 2008, 6:23:54 PM7/14/08
to
Thanks for replying. You're right: he can move to another computer, but it's
better than nothing.

I'm not sure i understand what you suggest.

I see two cases:
1) i send the link of the form page to all the persons who have to fill the
form.
Assume user X is somebody who has the link.Do i have to generate a password
and send it together with the link? But then all the generated passwords
must already be in the database. Is this what you mean?

2) i send the link of the form page to e.g. a compagny or a school, and all
employees or students are asked to fill the form. How can i now use
passwords?

Thanks

"John Timney (MVP)" <xyz_...@timney.eclipse.co.uk> schreef in bericht
news:kZ6dnVoPqbeKXebV...@eclipse.net.uk...

Mark Rae [MVP]

unread,
Jul 14, 2008, 6:59:06 PM7/14/08
to
"Carl" <n...@dd.dd> wrote in message
news:eWfyKBg5...@TK2MSFTNGP02.phx.gbl...

> You're right: he can move to another computer,

Or simply delete the cookie...

> but it's better than nothing.

Not really...

This sort of thing is almost impossible to implement to the extent that it's
hardly worth the bother of trying...

The best solution would something along the lines suggested by Jon. Also, if
you're really worried about people doing the survey more than once, you'll
need to email the login credentials to them and, obviously, disallow free
email addresses from providers such as HotMail, Yahoo, GoogleMail etc...
People usually think twice about having to sign up for a tarriffed email
address *just* to complete a survey more than once...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

0 new messages