UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » How to set Cookies and Sessions for multiple forums?

How to set Cookies and Sessions for multiple forums?

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Hi,

In the near future, I will be hosting 3 or 4 forums (same host) with different topics and would like to know what would be the best settings for Cookies and Sessions to each have their own unique values.

Thanks,
Gene
Moderator
Registered: Oct 2005
Posts: 437
Location: canada
You can change the session name via the ACP. But I have 3 installations of UseBB on my host and haven't had to change anything to that effect.
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Gaia wrote
You can change the session name via the ACP. But I have 3 installations of UseBB on my host and haven't had to change anything to that effect.


Thanks Gaia,

I've asked this because I did have an issue with phpBB running 2 forums with different admin ID's, had to delete the cookies every time I switched from one board to the other, if not, when trying to access the ACP in one forum after logging off the other, everything was screwed-up and phpBB kept loading the previous board's Admin panel.

So, I want to avoid the same issue with useBB.

Cheers,
Gene
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
If they are on a different domain, there's no problem. Otherwise, adjust the cookie path to point to the unique location per forum or use different session names.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich wrote
If they are on a different domain, there's no problem. Otherwise, adjust the cookie path to point to the unique location per forum or use different session names.


Thanks Dietrich,

Yes, they'll all be on the same domain, 2 phpBB and probably 2 or 3 UseBB installations. Think that different session names will do the trick or should I use unique loactions for each or both?

If you recommend unique locations, do I input:
http://www.matesjunction.com/forumname/ or
username/root/public_html/forumname/ (with trailing slash)?

Thanks,
Gene
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
A cookie path is something like /community/, /forum/, etc...
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich wrote
A cookie path is something like /community/, /forum/, etc...


Great, thanks. Should I do both (session and cookie)?

Gene

Page: 1

UseBB Community » Help & Support » How to set Cookies and Sessions for multiple forums?

UseBB Community is powered by UseBB 1 Forum Software