Not remembering Login Not remembering Login
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Not remembering Login

Started by chupa2k, July 19, 2005, 02:18:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chupa2k

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

chupa2k

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




???

Nibbler

I expect there's some option to set the lifetime/duration of cookies in IPB, although I'm not familiar with it.

chupa2k

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" ?

chupa2k

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 ?