The documentation for the Cookie class is here: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm
But lacks documentation for the constructor. From code examples it looks like the constructor takes 5 parameters:
- String name // cookie name
- mixed value // cookie content
- ?? // normally 'null'
- int time // -1 for expiry with session, otherwise number of seconds to live
- boolean ?? // normally 'false'
Can someone confirm this and fill in the blanks for us?
Also, how do you know this?