Answer Posted / prakash.matte
Question is not for ini file and not for unsetting, it is
for changing the session life time from php file.
ini_set("session.gc_maxlifetime", number_of_seconds);
We can override the php.ini settings (if we don't have
access) from php file using ini_set()
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Where is my php ini file?
What is php and how do you use it?
Explain how we can get the number of elements in an array?
List some of the features of php7.
How can you retrieve data from the mysql database using php?
How to count a number of words in a string in php?
What is trim function in php?
Tell me in php, objects are they passed by value or by reference?
How the result set of mysql be handled in php?
What is the actually used php version?
What is cookie in php with example?
Explain the difference between array_merge() and array_combine()?
How to merge values of two arrays into a single array?
How to create a mysql connection in php?
Why sessions are used in php?