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 |
How can we encrypt the username and password using PHP?
3 Answers Rushmore Consultancy,
Difference among echo, print and printf.
What is the use of mysql_real_escape_string() function?
What are majic methords in php?
What are the different types of errors in PHP?
How to set a page as a home page in a php based site?
How session works (internal processing of session) ?
3 Answers ASD Lab, IPSR Solutions,
how to use http headers inside php? Write the statement through which it can be added?
What is a PHP Filter?
How do you end a function in python?
Which function gives us the number of affected entries by a query?
How to create a table to store files?