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

Where is session value stored php?

1032


What is the difference between abstract class and interface in php?

1140


What is php written in?

990


Tell me when a conditional statement is ended with an endif?

904


What is php rest api?

1020


Why php is also called as scripting language?

967


How do you execute a php script from the command line?

1058


How to uploaded files to a table?

1000


Explain NULL?

1047


Differentiate echo vs. Print statement.

934


How to execute a php script from the command line?

1097


What do the initials of php stand for?

1062


Tell me what is the difference between the functions strstr() and stristr()?

1060


How to change the principal password?

1032


Can we embedded directly PHP code into XHTML document? State Whether True or False?

1799