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

What are the special characters you need to escape in single-quoted stings?

925


What is default session time and path in php?

1060


What is the use of namespace in php?

980


What is instantiation?

2214


What is polymorphism in php?

990


What is lamp in php?

955


Is it possible to submit a form with a dedicated button?

922


What are escaping characters? Explain with an example?

952


How many types of php frameworks are there?

919


What the use of var_dump()?

1044


What is the difference between $message and $$message in php?

1011


Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

1049


What are php libraries?

932


Why is php used?

1013


How we get ip address of client, previous reference page etc?

970