Thread:Extension talk:Phpbb Single Sign-On/ help please session id and cookies

I'm always getting logged out of the wiki but not on the forum, I have found that if i add in the ?sid= from the forum URL to the wiki i get logged back in, I assume this is some sort of cookie error, how can i fix this?