Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:48:49 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Extending session length  (Read 1523 times)
jmz

Offline Offline

Posts: 2


« on: May 13, 2005, 09:20:17 AM »

Hi

Is it possible to extend admin session lengths? Sometimes my users have to edit long and complex documents, and are often distracted from the activity. This means an edit can last longer than an hour (which seems to be the session life). But because the session has expired, all changes are lost.

I tried adding session_cache_expir e(3600) to framework/class.admin.php, but this seems to have no effect on session length.

Can anyone of you tell how to attain this?
Logged
fienieg
Guest
« Reply #1 on: May 13, 2005, 12:37:10 PM »

Session length isn't establist in WB, but it uses the standard PHP.ini settings!
This could be something for the future!  wink
Logged
jmz

Offline Offline

Posts: 2


« Reply #2 on: May 13, 2005, 12:54:16 PM »

Ok, thanks! I'll try this immediately Smiley
Logged
AzAkers

Offline Offline

Posts: 40


WWW
« Reply #3 on: August 08, 2007, 02:54:01 AM »

Is this still true? >> No way to extend the session length..?

Is there not a way to extend the length of time an admin remains 'logged in'? Nothing quite as frustrating as formulating the most brilliant blog posting mankind has ever been privileged to read only to have it lost in the abyss when you hit send and realize only too late that your session has timed out. rolleyes

Okay... so I might be exagerating a bit on the value of my blog posts, but it's frustrating none-the-less and it would be super if we could extend the session length a bit.
Logged

Contributor?  THANKS!!

WB Sites:
AZ Ladies Ministries
Logo Design in progress
lanesharon

Offline Offline

Posts: 47


WWW
« Reply #4 on: December 04, 2007, 03:40:52 AM »

I just got 'bit in the butt' by this also.  I have a lot of websites on my hosting account, with a lot of different systems - phpBB, Drupal, WordPress, etc..  I have never timed-out on an Admin login on any of them.  So, I cannot agree that it is a server situation.

I found the following lines of code that may cause a problem:
In logout.php (base and admin)  -  setcookie('REMEMBER_KEY', '', time()-3600, '/');
class.login.php  -  $cookie_expire = time()+60*60*24*30;

And htmlarea wysiwyg sets several timeout possibilities.  I have a feeling that this is where the problems lies.
« Last Edit: December 04, 2007, 04:13:58 AM by lanesharon » Logged

Take Care,  Sharon
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!