Registered: 04/23/01
Posts: 184
Loc: Denmark, the country vith all ...
HI<br /><br />I have 2 diffrent boards but i whant users from one board to be automaticly logged in on the other board, how do i set the cookie to do that ?<br /><br />i startet to set the prefix to 4701.dk in config.inc.php but that made me unable to log in ???<br /><br />THomas
#281244 - 10/24/0411:41 AMRe: use cookie prefix ???
[Re: shame4me]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
well first I gotta ask are the two boards on the same domain...
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
#281246 - 10/24/0412:26 PMRe: use cookie prefix ???
[Re: shame4me]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
okay so then since they are on the same domain try "/" as the cookie prefix that allows it to go site wide..
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
#281248 - 10/24/0401:49 PMRe: use cookie prefix ???
[Re: shame4me]
JoshPet
I type Like navaho
Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Are they running off the same database? If they are 2 different boards, then the cookies won't be interchangeable. Only if they have a common user database.
#281249 - 10/24/0401:56 PMRe: use cookie prefix ???
[Re: Daine]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
what Josh Said I have to go to bed sometime today.
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
#281251 - 10/24/0401:58 PMRe: use cookie prefix ???
[Re: shame4me]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
well then another dumb question.. they are both threads forums right?
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
#281253 - 10/24/0402:01 PMRe: use cookie prefix ???
[Re: shame4me]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
and they both share the same database using the same users table and the same posts table etc...
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
#281256 - 10/24/0402:25 PMRe: use cookie prefix ???
[Re: shame4me]
scroungr
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
so then if they are both set to use cookies the / should tell it to use the same cookies site wide and you are already using the the same database so the cookie should work.. you are sure they are both on the same domain one is on<br /><br />www.widget.com/forum and the other on www.widget.com/test and the main domain is www.widget.com?
_________________________
Couchtomatoe - www.couch-tomatoe.cc My abilities are for hire for installs, upgrades, custom themes and custom modifications.
But there is definitely only ONE cookie?<br /><br />If there are two cookies - one may be over-writing the other.<br /><br />I had (for a few years) a setup like this:<br /><br />http://www.bladekeep.com/forums/ - standard stuff<br /><br />http://www.bladekeep.com/forums-lite/ - a VERY stripped down version of the forums for people to use at work (ie very few icons or fancy schmancy stuff).<br /><br />I had no problem with this setup in terms of being logged in.