I just received a request for creating a online survey for an anonymous SharePoint 2010 website. The requirements are simple. create a small popup and then the survey must start.

I also wanted to use cookies for session based cookie .

I use the following option to create the cookies: https://cookiejs.codeplex.com/

for the Survey I created a simple custom SharePoint list wich included the question. I can use  infopath forms for pimping the input form .

a small modeldialog will do the rest:

1. let’s find out how to create cookiessss..