Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Login Persistence time in 2.10

 

 


gkornbluth
Veteran

Jul 5, 2011, 4:25 AM

Post #1 of 15 (1882 views)
Shortcut
Login Persistence time in 2.10 Can't Post

Hi all,

Has the login persistence time changed in v 2.10?

Seems that since upgrading, I have to re-login a few times a day when I'm working on a site.

Thanks,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com


robin
User / Moderator


Jul 5, 2011, 9:48 AM

Post #2 of 15 (1876 views)
Shortcut
Re: [gkornbluth] Login Persistence time in 2.10 [In reply to] Can't Post

Hey Jerry,

The timeout is still set to one day. Were there no other differences? You upgraded to 2.10 and now they timeout is much less?

Thanks


gkornbluth
Veteran

Jul 5, 2011, 10:41 AM

Post #3 of 15 (1875 views)
Shortcut
Re: [robin] Login Persistence time in 2.10 [In reply to] Can't Post

Seems like a few hours. I've had issues where I'd be updating a record and I'd be asked to re log in and the changes that I made were lost

Jerry
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com


Toledoh
Enthusiast

Jul 5, 2011, 2:06 PM

Post #4 of 15 (1872 views)
Shortcut
Re: [gkornbluth] Login Persistence time in 2.10 [In reply to] Can't Post

Every time I've had this problem, turns out there's been an update to AVG and their damn FireFox plugin has been re-instated.

Remove that and it works fine.... for me :)
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


Dave
Staff / Moderator


Jul 5, 2011, 2:47 PM

Post #5 of 15 (1870 views)
Shortcut
Re: [gkornbluth] Login Persistence time in 2.10 [In reply to] Can't Post

Hi Jerry,

We store login details in what's called "PHP Sessions". These are stored in files on the server and while we keep them for 24 hours sometimes hosts remove them as quickly as after 20 minutes.

You can specify a folder under Admin > General > session.save_path to store session files so they won't get removed by your host. But make sure that folder isn't accessible through your website (put it above /htdocs/ if you can).

Also, see my other post about this here:
http://www.interactivetools.com/forum/gforum.cgi?post=87843#87843

Hope that helps! Let me know any questions.

Dave Edis - Senior Developer
interactivetools.com
 


gkornbluth
Veteran

Jul 5, 2011, 3:04 PM

Post #6 of 15 (1869 views)
Shortcut
Re: [Dave] Login Persistence time in 2.10 [In reply to] Can't Post

Thanks Dave,

I'll give it a try, but this only started occurring after upgrades to 2.10. I've got 2.09 installs running on the same server and it's not an issue.

I also had to re-upload the 2.09 .htaccess on the 2.10 install. Do you think that might affect the timeout issue somehow?

Jerry Kornluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com


Dave
Staff / Moderator


Jul 5, 2011, 8:14 PM

Post #7 of 15 (1864 views)
Shortcut
Re: [gkornbluth] Login Persistence time in 2.10 [In reply to] Can't Post

Hi Jerry,

Hmm, well I'm not really sure what could be happening. Maybe keep an eye on it and let us know.

The only way the .htaccess should be able to affect it is if you had set a session.save_path in the .htaccess, and we didn't have any code in 2.10 related to sessions.

Let me know if it continues or you find anything out.
Thanks!

Dave Edis - Senior Developer
interactivetools.com
 


8bit Pixel
User

Aug 22, 2011, 5:53 AM

Post #8 of 15 (1642 views)
Shortcut
Re: [Dave] Login Persistence time in 2.10 [In reply to] Can't Post

I am also having this problem guys. It's a bit annoying as a number of times I have been entering data, gone to save it, only to find I have been logged out and the data not stored. I do all my work in Firefox (V5). I also agree with the comment on how it started with the change in versions...


ross
Staff / Moderator


Aug 23, 2011, 11:40 AM

Post #9 of 15 (1621 views)
Shortcut
Re: [Pixels & Beats] Login Persistence time in 2.10 [In reply to] Can't Post

Hi there

This is definitely quite interesting as the code for sessions hasn't changed. Could you send through a full support request for me?

https://www.interactivetools.com/support/email_support_form.php

I'll run a couple tests and see if we can shed some more light on what's happening.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



dennisoneil
User

Nov 8, 2011, 1:47 PM

Post #10 of 15 (1227 views)
Shortcut
Re: [ross] Login Persistence time in 2.10 [In reply to] Can't Post

Hello,

Just wondering if there were any new solutions for this? I have a client on CMSB v2.12 and is complaining of the issue - logins lasting only an hour or so. I also have another instance of a CMSB 2.12 install where I am experiencing significantly less than 24 hours login time.

My session.cookie_lifetime is set to 86400.

Thanks.


Jason
Staff / Moderator


Nov 8, 2011, 9:35 PM

Post #11 of 15 (1216 views)
Shortcut
Re: [dennisoneil] Login Persistence time in 2.10 [In reply to] Can't Post

Hi,

Have you tried to set a new session.savepath in General Settings as per Dave's post above? This usually takes care of the issue.

Let us know if you still experience this problem.

Thanks
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


dennisoneil
User

Nov 9, 2011, 12:05 PM

Post #12 of 15 (1162 views)
Shortcut
Re: [Jason] Login Persistence time in 2.10 [In reply to] Can't Post

Thanks Jason,

My apologies for not trying all of the solutions before posting. I was successful in resolving the login issue after setting a new session.savepath directory.

I have 2 suggestion for someone making this change:
- Be sure you change the permissions on the new folder to allow write capabilities.
- Be sure you folder path is correct (no trailing slash was required for me).

I messed up on both of these items at first. Both will break things to the extent that you cannot access the CMSB interface to make changes. To correct the path, I had to go to CMSADMIN > DATA > SETTING.DATA.PHP to correct it.

After I corrected all of my mistakes, everything works perfectly.

Thanks


gkornbluth
Veteran

Dec 11, 2011, 2:24 PM

Post #13 of 15 (934 views)
Shortcut
Re: [Jason] Login Persistence time in 2.10 [In reply to] Can't Post

Hi All,

Stumped again (CMSB Version 2.13).

When I try to change the session save path to the folder sfortmwepr in my root directory, I get this error when I try to access the web site:

Code
session.save_path doesn't exist! (../sfortmwepr) 
To change session settings edit /data/settings.dat.php

Trying to change changing it to /sfortmwepr /sfortmwepr/ or sfortmwepr/ or../../ produces a directory does not exist error in the Admin interface.

Any help appreciated.

Thanks,

Jerry Kornbluth


Jason
Staff / Moderator


Dec 11, 2011, 10:50 PM

Post #14 of 15 (929 views)
Shortcut
Re: [gkornbluth] Login Persistence time in 2.10 [In reply to] Can't Post

Hi,

Have you tried using a full path to your root instead of using ../ ?

Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


gkornbluth
Veteran

Dec 12, 2011, 6:04 AM

Post #15 of 15 (928 views)
Shortcut
Re: [Jason] Login Persistence time in 2.10 [In reply to] Can't Post

Hi Jason.

Works just fine now.

You've happily done it again.

Thanks

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
http://www.thecmsbcookbook.com

(This post was edited by gkornbluth on Dec 12, 2011, 8:36 AM)