drumhrd Posted October 2, 2009 Share Posted October 2, 2009 I need to extend my user sessions out quite a bit from default as my users are going to be uploading very large files. I have attempted to do this via an .htaccess file. But php info seems unchanged. any ideas? contents of .htaccess Options +FollowSymlinks <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} s RewriteRule ^(.*)$ https://www.artists2you.com/s/$1 [R,L] </IfModule> IfModule mod_php5.c> php_value session.gc_maxlifetime 86400 php_value session.save_path "/var/www/sessions" </IfModule> Link to comment https://forums.phpfreaks.com/topic/176271-solved-set-sessiongc_maxlifetime-via-htaccess-file/ Share on other sites More sharing options...
drumhrd Posted October 2, 2009 Author Share Posted October 2, 2009 let me more clear. phpinfo(); still shows defaults..it's like my .htaccess file is not working. Link to comment https://forums.phpfreaks.com/topic/176271-solved-set-sessiongc_maxlifetime-via-htaccess-file/#findComment-929001 Share on other sites More sharing options...
cags Posted October 2, 2009 Share Posted October 2, 2009 I could be wrong, but I wouldn't have personally thought that phpinfos output would be effected by .htaccess files. Link to comment https://forums.phpfreaks.com/topic/176271-solved-set-sessiongc_maxlifetime-via-htaccess-file/#findComment-929013 Share on other sites More sharing options...
drumhrd Posted October 2, 2009 Author Share Posted October 2, 2009 if that is the case how can I verify that the overrides I am putting in the .htaccess is working? Link to comment https://forums.phpfreaks.com/topic/176271-solved-set-sessiongc_maxlifetime-via-htaccess-file/#findComment-929016 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.