Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to increase session life time using PHP?

Answer Posted / amit tiwari

The PHP global setting sessions.gc_maxlifetime is used by
default. You can increase session life time by adding a line
such as:

$SESS_LIFE=7200;

to set it to two hours.

Is This Answer Correct ?    7 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is server side a session?

897


Are php short tags acceptable to use?

905


What is Type hinting in PHP?

1096


What is the use of strip_tags() method?

898


What is use of htmlspecialchars php?

981


Php error constants and their descriptions

1117


What is difference between mysqli and mysql?

1011


What are different types of runtime errors in php?

1028


What is php trait?

932


What is php session start?

978


What are the two main string operators?

1004


Explain converting an object?

969


What does trim () do in javascript?

978


How could I install codeignitor ?

2157


What is mod_php?

981