Not remembering Login Not remembering Login
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Not remembering Login

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

Previous topic - Next topic

0 Members and 2 Guests 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 ?