I am using drupal 4.7.4 with cache enabled.

I found that the persistent login does not work properly.

The users see that they are logged out if they close the current browser and re-launch the browser.

Wasn't there this kind of reports before?

Thanks very much.

Comments

bjaspan’s picture

There were problems with caching before, but I fixed them. What is your site?

ksoonson’s picture

my site is http://kldp.org

if you need more information, please let me know.

Thanks very much.

bjaspan’s picture

I visisted the site, registered for an account, logged in with Remember Me checked, closed the browser, and re-visited the site. A new Persistent Login cookie was issued (correctly) and the site displayed "Welcome back, bjaspan."

I don't see a problem.

ksoonson’s picture

Hi, thank you very much for testing the site. I don't think you can read Korean. :-)

But if you can try automatic translation from Korean to English, then http://kldp.org/node/76223 will let you know that all these people who posted reply are having problem with persistent login.

Thanks again very much.

bjaspan’s picture

I tried Google's automatic translation on that page but got nothing useful. If Persistent Login is not working on your site, I am going to need a test case.

ksoonson’s picture

The staff admin of my site has found workaround.

I was using the persistent login with expiration time set to '0' so that it does not expire.

But it seems like the cron job(http://yoursite.com/cron.php) of drupal core seems to affect this value in the database.

I set the value from '0' to '30' and it works fine now.

I don't know which one is responsible for this but it seems like either the module or the cron.php needs to be fixed.

Thanks

bjaspan’s picture

Status: Active » Fixed

Indeed, PL's cron hook was erasing PL sessions when the maximum lifetime was 0 (unlimited). Ooops.

Fixed in the development snapshot for 4.7 and 5.

bjaspan’s picture

Status: Fixed » Closed (fixed)