coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: chupa2k on July 19, 2005, 02:18:24 PM

Title: Not remembering Login
Post by: chupa2k on July 19, 2005, 02:18:24 PM
Hey all ,
I bridged Coppermine 1.3 with Invision 1.3 .
Everything is peachy but one thing , I always have to relogin after a short time of something like 5 minutes of inactivity in the forums .
If i stay on one page more then 5 minutes it loggs me out .

Is it some Option i need to check or increase somewhere or a bug ?

Test info
User : test
password : test123
http://www.toaster.co.il/community/gallery
Title: Re: Not remembering Login
Post by: chupa2k on July 19, 2005, 02:35:41 PM
Maybe i didnt set the bridge correctly ?

This is my Bridge info


// database configuration

define('IB_DB_NAME', 'mydbname'); // The name of the database used by the board

define('IB_BD_HOST', 'localhost'); // The name of the database server

define('IB_DB_USERNAME', 'mydbuser'); // The username to use to connect to the database

define('IB_DB_PASSWORD', 'mydbpassword123'); // The password to use to connect to the database



// The web path to your Invision Board directory

// In this example http://yoursite_name.com/ivboard/

define('IB_WEB_PATH', '/community/forum/');

// ------------------------------------------------------------------------- //

// You can keep the default values below if your installation is standard

// ------------------------------------------------------------------------- //

// The prefix for the Invision Board cookies

define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies



// Prefix and names for the database tables

define('IB_TABLE_PREFIX', 'ipb_'); // The prefix used for the DB tables

define('IB_USER_TABLE', 'members'); // The members table

define('IB_SESSION_TABLE', 'sessions'); // The sessions table

define('IB_GROUP_TABLE', 'groups'); // The groups table




???
Title: Re: Not remembering Login
Post by: Nibbler on July 19, 2005, 03:38:09 PM
I expect there's some option to set the lifetime/duration of cookies in IPB, although I'm not familiar with it.
Title: Re: Not remembering Login
Post by: chupa2k on July 20, 2005, 09:53:25 AM
I Clicked the "Remember Me" Button but its still the same , When its not bridged its ok and remembers the login , But Bridged it forgets after a few minutes .
There isnt ANY Duration or lifetime setting for the cookie in IPB . Isnt the cookie set by Coppermine ? the whole line that says "Clear the IPB cookie line" ?
Title: Re: Not remembering Login
Post by: chupa2k on July 20, 2005, 10:55:31 AM
I think i might have fixed it , In the line

define('IB_COOKIE_PREFIX', ''); // The prefix used for board cookies

i changed to

define('IB_COOKIE_PREFIX', 'ipb_'); // The prefix used for board cookies

And i added a prefix in the ipb control panel for cookies but without a cookie name , Seems to work .

Could i be imagining or i might have forgotten to make this step ?