b2login, b2comments and cookies

The original b2 had a few bugs with regards to setting cookies – it would set cookies for authentication and comment author information, but without setting a url. This caused problems for Safari users who couldn’t login to their blogs!
I’ve modified the setcookies commands so that:

  1. Auth information is set only for the blog address – ie. /xeer/ for this blog
  2. Comment author information is set for the whole b2 site. You won’t have to keep entering your personal details to comment on other blogs once you’ve commented once on any particular site.

That’s the idea anyway. Leave a comment here if you discover any bugs with that.

Author: Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

Leave a Reply