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 |
What does $_env mean?
What is the difference between php and javascript?
Shopping cart online validation i.e. how can we configure Paypal, etc.?
How to get the number of visitors in a site?
=== represents what?
2 Answers Ephron Systems, NetTrackers,
What is the exact Diff. between include_once() and require_once() in PHP?
Tell me what are the functions to be used to get the image's properties (size, width and height)?
Single choice objective PHP question...
how to make website package setup like desktop software setup ... that front end and backend can include in setup like single package...?
Do loops php?
Tell me which function gives us the number of affected entries by a query?
which is the best institute for php training near delhi & NCR......& what is the fee for the same....