Hello, i think there is a bug with the session time in the admin section, because when i want to add a product it takes me usually 15' time to write to write the description and check all options of it... instead
the script will log me out in about 3 min
and when I press the add product button it doesn't works and I'm redirected to login page again,
does somebody know how can I add more session time to the admin ?
about 30' or 1 hour, is fine for me since I open the admin panmel from my personal computer.
many thanks.
the script will log me out in about 3 min
and when I press the add product button it doesn't works and I'm redirected to login page again,
does somebody know how can I add more session time to the admin ?
about 30' or 1 hour, is fine for me since I open the admin panmel from my personal computer.
many thanks.
i did try adding
session.gc_maxlifetime = 12000000;
to the php ini file and i dont see any change,
im checking the current timeout and is
with this code
<?php
echo ini_get("session.gc_maxlifetime");
?>
and is
1440
there is some wrong with my php ini code? thanks.
session.gc_maxlifetime = 12000000;
to the php ini file and i dont see any change,
im checking the current timeout and is
with this code
<?php
echo ini_get("session.gc_maxlifetime");
?>
and is
1440
there is some wrong with my php ini code? thanks.
Some hosting providers don't allow php.ini changes
but you may include some of them using directive in .htacces
try adding to your local directory .htacces file the following definitions and there you go
php_value session.gc_maxlifetime 72000
php_value session.cookie_lifetime 72000
let me know if it helped
but you may include some of them using directive in .htacces
try adding to your local directory .htacces file the following definitions and there you go
php_value session.gc_maxlifetime 72000
php_value session.cookie_lifetime 72000
let me know if it helped
You may find that in some server environments you may need to add the following line to a .htaccess file, I was facing the same problems as described here until I made this fix.
SetEnv PHPRC /home/sites/sitename.co.uk/subfolder/php.ini
I believe you should be able to move the php.ini into the site root, or the parent folder to public_html which should do the same.
Hope this helps!
SetEnv PHPRC /home/sites/sitename.co.uk/subfolder/php.ini
I believe you should be able to move the php.ini into the site root, or the parent folder to public_html which should do the same.
Hope this helps!
So do we have a definitive "how not to get logged out in 3 min's" course of action?
Does it matter where I add the following to the htaccess file?
here's my htaccess file:
We'll see if this helps...
thanks,
takayuki
Does it matter where I add the following to the htaccess file?
Code: Select all
php_value session.gc_maxlifetime 10800
php_value session.cookie_lifetime 10800
Code: Select all
php_flag register_globals off
php_value session.gc_maxlifetime 10800
php_value session.cookie_lifetime 10800
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
thanks,
takayuki
Who is online
Users browsing this forum: No registered users and 14 guests