> -----Original Message----- > From: Gustav Wiberg [mailto:gustav@xxxxxxxxxxxxxx] > Sent: 09 September 2005 14:40 > To: PHP General > Subject: session.gc_maxlifetime > > > ************************************* > > This e-mail has been received by the Revenue Internet e-mail service. > > ************************************* > > Hi there! > > This setting... > session.gc_maxlifetime can only be set in php.ini > Default = 1440 = 24 minutes > is the time before a cookie expires? Is this right? > > I don't have access to php.ini because it's not my server > (it's my webhost) > What's the solution to that? I want the cookie to last as > long as set inte > setcookie... > > Please help... I'm a little confused here... Surely it is: session.cookie_lifetime: specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means "until the browser is closed." Defaults to 0. Also, I thought you could use ini_set to change your php.ini configuration for your current script. But I could be wrong... Did I miss read the manual? ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service ************************* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php