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
What are the advantages of stored procedures?
How to move uploaded files to permanent directory?
What is the main function of php?
What are the advantages of php mysql?
How to get the directory name out of a file path name?
What is the difference between myisam and innodb?
What is isset php?
How does php work with apache?
What is session in c#?
How can you send email in php?
How to initiate a session in php?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
How to set session.gc_divisor properly?
How many types of inheritances used in php and how we achieve it.
What is a persistence cookie?