how set session expire time in php?

Answer Posted / bharanikumar

go to php.ini , set the time limit for the session

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of session are there?

550


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

561


How to pad an array with the same value multiple times?

475


What is a php session?

575


Can you explain, when to use if-else if-else over switch statements?

547






How is the ternary conditional operator used in php?

522


Why overriding is called runtime polymorphism?

535


What is helper library?

520


How many types of array supported in php?

543


What is rest api in php?

525


What kind of variable is age?

613


Tell us how to redirect a page in php?

545


Is php 7.0 stable?

523


Which is true about the singleton design pattern?

559


What is htaccess? Why do we use this and where?

511