Recent Topics

Cookie problems and proposed solution

Started by on Aug 18, 2006 – Contents updated: Aug 18, 2006

Aug 18, 2006 17:54    

My situation:
I have multiple blogs, each in their own domain. I redirect /_blogs to the b2e blogs folder for all sites. Therefore baseurl = http://example.com/_blogs/

All cookies have a cookie_domain and cookie_path relative to that baseurl, and it doesn't work.

My proposal:

$cookie_path = "/";
$cookie_domain = $basehost;

or make this conditional on if the blog URL is != $baseurl


Form is loading...

powered by an open-source CMS – This forum is powered by b2evolution CMS, a complete engine for your website.