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 |
When to use single quotes, double quotes, and backticks?
Explain about PHP filter and why it should be used?
How do I escape data before storing it into the database?
Which is best framework for php?
Tell me how is the ternary conditional operator used in php?
How does firefox manage cookies?
How to track user logged out or not? When user is idle?
How can you send http header to the client in php?
What is the apache?
Is it possible to use com component in php?
What is the scope of career in PHP/Mysql
Explain how to execute a php script using command line.