ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Front end auto logout timeout?

January 10, 2011 2:13am

Subscribe [6]
  • #1 / Jan 10, 2011 2:13am

    Chad Crowell

    242 posts

    Is there a way to set how long the user will remain logged in on the front end if they have not chosen to remain logged in on future visits? Also, what is the default amount of time?  We’re using cookies only, btw.

    We have a site with a vBulletin installation and we’re using VBEE to log people in and out of VB whenever they login to EE.  Works great.  However, VB has an admin field to set the auto session expiration and by default its 1800 seconds (30 minutes).  I’d like to set EE to match so they log the user out at the same time.

  • #2 / Jan 10, 2011 10:34am

    Sue Crocker

    26054 posts

    Hi, Chad. I honestly don’t have an answer for you. Let me ping the rest of the team, and get back to you.. Thanks in advance for your patience.

  • #3 / Jan 10, 2011 6:59pm

    Brandon Jones

    5500 posts

    Hi Chad,

    The Cookie sessions are set to expire 1 year from the login date.

  • #4 / Jan 10, 2011 9:27pm

    Chad Crowell

    242 posts

    That seems extrordinarily long for someone who doesn’t check a box to “keep me logged in”.  Are you sure?

  • #5 / Jan 11, 2011 9:41am

    Sue Crocker

    26054 posts

    Yup. Now that I remember looking a cookies a while back. Is this front end or back end you’re mostly concerned with?

  • #6 / Jan 11, 2011 12:49pm

    Chad Crowell

    242 posts

    Front

  • #7 / Jan 12, 2011 4:21am

    John Henry Donovan

    12339 posts

    Chad,

    Expiration is a year if they check the box to remain logged in. See system/expressionengine/controllers/cp/mebers.php LINE 808

    I believe it is a session cookie otherwise

  • #8 / Apr 28, 2011 1:18pm

    eevolution

    30 posts

    What if they do not check the remain logged in box? What would the default timeout be and where would the setting be to set this to 24 hours (using cookies only)?

  • #9 / Apr 28, 2011 1:54pm

    Chad Crowell

    242 posts

    Hi Tim - in that case its a session timeout, so when they close their browser it will expire.  You’d have to hack the core to change it to 24 hours, but it could be done.

  • #10 / Apr 28, 2011 2:52pm

    Brandon Jones

    5500 posts

    Thanks Chad! Going ahead and closing as it sounds like this is resolved.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases