Admin session timing out after 10-15 seconds
Posted: Wed Dec 31, 2008 9:30 pm
This is maddening... I can spend about 10 to 15 seconds in the admin interface before I get asked to relogin, and all my changes are lost. If I login, and quickly change just one field and submit the change, it saves, it, Then I have to login again.. this is how I have had to configure everything..
The webhost is network solutions, I've never set up cmsms on their systems before.. Tho, I don't see anything out of the ordinary.
I am not sure where to look next... anybody have any ideas? -Thanks
I found a post here about session timeouts where the user was editing content for long periods of time and getting logged out.. Unfortunately, that's not what seems to be happening for me.
I verified this from login.php in /admin
setcookie('cms_admin_user_id', '', time() - 3600);
setcookie('cms_passhash', '', time() - 3600);
setcookie(CMS_SECURE_PARAM_NAME, '', time() - 3600);
and I verified the cookies after logging in, but my session is not lasting for 3600 seconds..
CMS Version
1.5.1
Installed Modules
CMSMailer
1.73.14
FileManager
0.4.3
MenuManager
1.5.3
ModuleManager
1.2.1
News
2.9.1
nuSOAP
1.0.1
Printing
0.2.6
Search
1.5.2
ThemeManager
1.0.8
TinyMCE
2.4.10
Album
0.9.3
FormBuilder
0.5.6
Config Information
php_memory_limit:
process_whole_template:
true
max_upload_size:
5000000
default_upload_permission:
664
assume_mod_rewrite:
false
page_extension:
internal_pretty_urls:
false
use_hierarchy:
false
debug:
false
output_compression:
false
root_url:
http://blahblahblah.com
root_path:
/data/15/1/103/99/1429262/user/1535168/htdocs (2775) Success
previews_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/cache (2775) Success
uploads_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/uploads (2775) Success
uploads_url:
http://blahblahblah.com/uploads
image_uploads_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/uploads/images (2775) Success
image_uploads_url:
http://blahblahblah.com/uploads/images
use_smarty_php_tags:
false
locale:
default_encoding:
utf-8
admin_encoding:
utf-8
PHP Information:
Current PHP Version (phpversion):
5.2.6 Success
md5 function (md5_function):
On (True) Success
GD version (gd_version):
2 Success
tempnam function (tempnam_function):
On (True) Success
Magic quotes in runtime (magic_quotes_runtime):
Off (False) Success
PHP Effective Memory Limit (memory_limit):
32M Success
Maximum Execution Time (max_execution_time):
5000 Success
PHP Safe Mode (safe_mode):
Off (False) Success
Session Save Path (session_save_path):
/tmp (1777) Success
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):
Success
PHP register_globals (register_globals):
Off (False) Success
PHP output_buffering (output_buffering):
4096 Success
disable_functions in PHP (disable_functions):
Success
PHP Open Basedir (open_basedir):
Success
Test for remote URL (test_remote_url):
Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads):
On (True) Success
Maximum Post Size (post_max_size):
8M Caution ?
Maximum Upload Size (upload_max_filesize):
2M Caution ?
Basic XML (expat) support (xml_function):
On (True) Success
Test file_get_contents (file_get_contents):
On (True) Success
Test ini_set (check_ini_set):
On (True) Success
Server Information:
Server API (server_api):
cgi-fcgi
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.0.45 Success
Server Software (server_software):
Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
Server Operating System (server_os):
Linux 2.6.22.10-NETSOL On i686
Permission Information
tmp:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp (2775) Success
templates_c:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/templates_c (2775) Success
modules:
/data/15/1/103/99/1429262/user/1535168/htdocs/modules (2775) Success
File Creation Mask (umask):
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/cache (2775) Success
config_file:
0664 Failure
config.php writable. It is more safe if you change permission to read-only
The webhost is network solutions, I've never set up cmsms on their systems before.. Tho, I don't see anything out of the ordinary.
I am not sure where to look next... anybody have any ideas? -Thanks
I found a post here about session timeouts where the user was editing content for long periods of time and getting logged out.. Unfortunately, that's not what seems to be happening for me.
I verified this from login.php in /admin
setcookie('cms_admin_user_id', '', time() - 3600);
setcookie('cms_passhash', '', time() - 3600);
setcookie(CMS_SECURE_PARAM_NAME, '', time() - 3600);
and I verified the cookies after logging in, but my session is not lasting for 3600 seconds..
Here is the system configuration:Name CMSSESSID86506efc
Value 058a0eaea3750b608cf404ba57e644a2
Host blahblahblah.com
Path /
Secure No
Expires At End Of Session
* Edit Cookie
* Delete Cookie
Name PHPSESSID
Value 81cf1e6e71d47219dbb3735121800345
Host blahblahblah.com
Path /
Secure No
Expires At End Of Session
* Edit Cookie
* Delete Cookie
Name cms_admin_user_id
Value 1
Host blahblahblah.com
Path /admin/
Secure No
Expires At End Of Session
* Edit Cookie
* Delete Cookie
Name cms_language
Value en_US
Host blahblahblah.com
Path /admin/
Secure No
Expires At End Of Session
* Edit Cookie
* Delete Cookie
Name cms_passhash
Value 5f793caa84ca4bf0e10354ebe1a43203
Host blahblahblah.com
Path /admin/
Secure No
Expires At End Of Session
CMS Version
1.5.1
Installed Modules
CMSMailer
1.73.14
FileManager
0.4.3
MenuManager
1.5.3
ModuleManager
1.2.1
News
2.9.1
nuSOAP
1.0.1
Printing
0.2.6
Search
1.5.2
ThemeManager
1.0.8
TinyMCE
2.4.10
Album
0.9.3
FormBuilder
0.5.6
Config Information
php_memory_limit:
process_whole_template:
true
max_upload_size:
5000000
default_upload_permission:
664
assume_mod_rewrite:
false
page_extension:
internal_pretty_urls:
false
use_hierarchy:
false
debug:
false
output_compression:
false
root_url:
http://blahblahblah.com
root_path:
/data/15/1/103/99/1429262/user/1535168/htdocs (2775) Success
previews_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/cache (2775) Success
uploads_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/uploads (2775) Success
uploads_url:
http://blahblahblah.com/uploads
image_uploads_path:
/data/15/1/103/99/1429262/user/1535168/htdocs/uploads/images (2775) Success
image_uploads_url:
http://blahblahblah.com/uploads/images
use_smarty_php_tags:
false
locale:
default_encoding:
utf-8
admin_encoding:
utf-8
PHP Information:
Current PHP Version (phpversion):
5.2.6 Success
md5 function (md5_function):
On (True) Success
GD version (gd_version):
2 Success
tempnam function (tempnam_function):
On (True) Success
Magic quotes in runtime (magic_quotes_runtime):
Off (False) Success
PHP Effective Memory Limit (memory_limit):
32M Success
Maximum Execution Time (max_execution_time):
5000 Success
PHP Safe Mode (safe_mode):
Off (False) Success
Session Save Path (session_save_path):
/tmp (1777) Success
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):
Success
PHP register_globals (register_globals):
Off (False) Success
PHP output_buffering (output_buffering):
4096 Success
disable_functions in PHP (disable_functions):
Success
PHP Open Basedir (open_basedir):
Success
Test for remote URL (test_remote_url):
Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads):
On (True) Success
Maximum Post Size (post_max_size):
8M Caution ?
Maximum Upload Size (upload_max_filesize):
2M Caution ?
Basic XML (expat) support (xml_function):
On (True) Success
Test file_get_contents (file_get_contents):
On (True) Success
Test ini_set (check_ini_set):
On (True) Success
Server Information:
Server API (server_api):
cgi-fcgi
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.0.45 Success
Server Software (server_software):
Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
Server Operating System (server_os):
Linux 2.6.22.10-NETSOL On i686
Permission Information
tmp:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp (2775) Success
templates_c:
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/templates_c (2775) Success
modules:
/data/15/1/103/99/1429262/user/1535168/htdocs/modules (2775) Success
File Creation Mask (umask):
/data/15/1/103/99/1429262/user/1535168/htdocs/tmp/cache (2775) Success
config_file:
0664 Failure
config.php writable. It is more safe if you change permission to read-only