About cookies and multiple phpBB on same domain

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: About cookies and multiple phpBB on same domain

Re: About cookies and multiple phpBB on same domain

by Baptiste » Tue Jan 28, 2020 6:23 pm

Yes makes sense, thank you. I'll let you know if I encounter issues doing so. Thanks.

Re: About cookies and multiple phpBB on same domain

by axew3 » Tue Jan 28, 2020 5:52 pm

All start with config.php that will link the specified phpBB.
then cookies, will be recognized only related to the board with cookie name that will be found into phpBB config db table. You should use different cookies names of course then.
then database, which have of course different db prefixes, if installations are on same db.
I suppose that then you can do it into same domain.
I have +- ever from long time into same browser, several instances on tabs, of different wp and phpbb linked all into same localhost.

Let know if any problem you may encounter

About cookies and multiple phpBB on same domain

by Baptiste » Tue Jan 28, 2020 4:16 pm

Hello again,
on the same domain, I plan to eventually have several WP and several phpBB installed : how would that work for cookies in phpBB ?

Like, I would have to have
mydomain.com/city1 as WP
mydomain.com/city1/forum as phpBB, synced to /city1
both on database 1

then
mydomain.com/city2 as another WP
mydomain.com/city2/forum as another phpBB, synced to /city2
both on database 2

and so on.

From what I understand, the way you need phpBB cookie to be set up, it is domain wide, and so wouldn't there be conflicts if I have several WP and phpBB on the same domain ? Or just from the cookies having different names it wouldn't be a problem ?

Top