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

How does php server work?

1018


How to pass variables by references?

984


What is csrf token in php?

1072


What is php and its advantages?

952


Tell me how to create a session? How to set a value in session? How to remove data from a session?

988


How to find a substring from a given string in php?

1017


What are the string function in php?

966


What is sorting php?

930


Does csrf token change?

907


What is the use of "enctype" attribute in a html form?

1024


How would you declare a function that receives one parameter name hello?

960


What is difference between required and require_once in php?

1066


How to check your php installation?

997


Is php a framework?

948


What is difference between get and post in php?

1167