Forums / Setup & design / How to know if a visitor as already answered to a poll ?

How to know if a visitor as already answered to a poll ?

Author Message

Nabil Alimi

Monday 19 December 2005 9:01:55 am

Hi,

Is it possible to know if an anonymous user has already answered a poll <b>before</b> answering it ?

If false, I display the poll if true I display results instead.

Thanks for reading me.

No ideas ?

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Per-Espen Kindblad

Tuesday 20 December 2005 4:23:20 am

Yup. In v. 3.5. there is an upgrade which uses session instead of domain when checking this.
So, this information you need is available in the session variable.

Per-Espen