hongjun
asked on
Large File Upload Cause Session Timeout
Hi,
I am trying to upload a 90MB file but then end up getting session timeout and end up in the login page.
I have tried to change the .htaccess file with the below additions but it does not seem to work. BTW, I am using a web hosting and the only config file I can change is the .htaccess.
I am trying to upload a 90MB file but then end up getting session timeout and end up in the login page.
I have tried to change the .htaccess file with the below additions but it does not seem to work. BTW, I am using a web hosting and the only config file I can change is the .htaccess.
php_value post_max_size 120M
php_value upload_max_filesize 100M
php_value max_execution_time 0
php_value max_input_time 0
php_value session.gc_maxlifetime 86400
php_value session.cookie_lifetime 86400
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It happens after almost 1 hour of upload.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>> Most webservers are configured to drop the connection after 3600 Seconds
Is it max_execution_time and max_input_time ?
I check phpinfo and I see the below
Local Value Master Value
max_execution_time -1 60
max_input_time -1 60
A further scan on my phpinfo values and I saw memory_limit is 32MB. Do I need to up this value as well?
Cheers
hongjun
Is it max_execution_time and max_input_time ?
I check phpinfo and I see the below
Local Value Master Value
max_execution_time -1 60
max_input_time -1 60
A further scan on my phpinfo values and I saw memory_limit is 32MB. Do I need to up this value as well?
Cheers
hongjun
ASKER
FYI, I can change .htaccess but not change the apache config file.
>> Most webservers are configured to drop the connection after 3600 Seconds
Is it max_execution_time and max_input_time ?
no those values have nothing to with the values in php .it's an apache thing.
>A further scan on my phpinfo values and I saw memory_limit is 32MB. Do I need to up this value as well?
If you don't load the file into memory that limit should be fine.
Is it max_execution_time and max_input_time ?
no those values have nothing to with the values in php .it's an apache thing.
>A further scan on my phpinfo values and I saw memory_limit is 32MB. Do I need to up this value as well?
If you don't load the file into memory that limit should be fine.
ASKER
ASKER
BTW, I have no access to apache conf file :(
ASKER
Hi, I have a new question related to this problem.
https://www.experts-exchange.com/questions/23242144/CGI-Upload-End-Up-Not-Apache-UserID.html
Please help :)
https://www.experts-exchange.com/questions/23242144/CGI-Upload-End-Up-Not-Apache-UserID.html
Please help :)
ASKER
hongjun