HTML Widget does not accept Cookies?

I just realized that the HTML Widget is either not accepting, or not honoring Cookies. Is this by design? Can it be changed (either in code or per-user setting)?

Or should I just convert my PHP code to use SESSION variables instead?

I’ve didn’t intentionally disabled cookies. Also it seems working fine for that online checker.

Ok thanks @emre. Maybe it has something to do with using localhost - I don’t know. In any case, I simply switched to using Session variables instead and it works fine.