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 is php array function?
What is the difference between php and core php?
Whether it is possible to share a single instance of a memcache between multiple php projects?
What does isset() function?
How can we encrpt a text?
What is the difference between get & post ?
suppose if u want to pass session value using cookies onlu.. what changes i've to made in php.ini file?
What are the 5 types of variables?
How to parse configuration file in php?
What is the difference between get and post method in php?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
How big is varchar max?