how set session expire time in php?
Answers were Sorted based on User's Feedback
Answer / bharanikumar
go to php.ini , set the time limit for the session
| Is This Answer Correct ? | 9 Yes | 5 No |
Answer / 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 |
Answer / bharanikumar
u feel u dont have access php.ini , then go with .http ,
make changes
Post your question here also ,
www.happylife.in
| Is This Answer Correct ? | 1 Yes | 0 No |
Which is variable cost?
What is config file in php?
What is php crud api?
What new features php7 has in store for us?
How many ways we can give the output to a browser?
Differences between get, post and request methods ?
what is the use of include_once in php?
How to get a total number of elements used in the array?
code to see the priview of the image which is being uploaded (after browising the image... just click priview ... how it will be visible...before uploading)
Do you know what is the differences between $a != $B and $a !== $B?
What is the purpose of constant() function?
How to convert one date format into another in php?