TinyPortal

Development => Support => Topic started by: borgBOB on March 08, 2005, 12:22:09 AM

Title: Where is the cookie set?
Post by: borgBOB on March 08, 2005, 12:22:09 AM
I have 2 instances of SMF with TinyPortal which I use. I need to change the name of the cookie which is set so I can be logged in to both sites at the same time. Any help?
Title: Re: Where is the cookie set?
Post by: borgBOB on March 08, 2005, 12:27:27 AM
I am a newbie, Just figured it out. Admin > Edit Server Settings > Cookie Name.
Title: Re: Where is the cookie set?
Post by: dayo on March 09, 2007, 11:32:25 PM
Hello (Jumping on this after fruitless search)

I am integrating my SMF/TP site with PhotoPost and need what I think is a minor change to my cookie settings to finalise this.

FYI
SMF/TP is installed on www.mydomain.com/smf_tp/
PP is installed on www.mydomain.com/pp/

I noticed a record is kept in a cookie after login but I notice the path is "/smf_tp/" (I.E. Local to subdirectory) while i need to to be "/" (domain wide) so that PP can access it as well.



I noticed also that the MySQL db has "('localCookies', '1');" in the settings table but can't find where this is set or how to change it even though I am pretty sure this is what affects it.

I was thinking of changing this to 0 or 2.  Am I on the right track?

Thanks for your help
Title: Re: Where is the cookie set?
Post by: dayo on March 09, 2007, 11:45:08 PM
Found the answer.  Doh!

Under server settings
Title: Re: Where is the cookie set?
Post by: G6Cad on March 10, 2007, 07:37:38 AM
Or in the settings.php file in your forum root directory ;)
Title: Re: Where is the cookie set?
Post by: dayo on March 10, 2007, 08:18:39 AM
Cheers!