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 type casting mean in php? Explain with an example?
How do you explain independent and dependent variables?
How to get number of days between two given dates using PHP?
Explain how to run the interactive php shell from the command line interface?
How do you end php?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
hey i m a trainee n jus wanted to ask that initially i was given the opportunity for .NET bt that project is abt to complete , nw i m asked to join a project of php on linux which is about to start , so wt say . is it a wise decision to join this project . will i be having job opportunities when i l complete my training after 4 months ? Plz suggest something ASAP .
What is PEAR?
How many types of php are there?
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
What is the difference between fopen() and fclose()?
What type of comments are supported by PHP.