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
How to reset/destroy a cookie?
What is the difference between single quoted string and double quoted string?
What is meant by urlencode and urldecode?
What changes I have to do in php.ini file for file uploading?
Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What is session_start () in php?
What is the name of the scripting engine that powers PHP?
What is the use of "enctype" attribute in a html form?
CWD is a type of shell variable. State Whether True or False?
Can I use php in visual studio?
What are the ways to define a constant in php?
Does php support inheritance?
What is basic php?
What is delimiter php?
What are the features and advantages of object-oriented programming in php?