RE: [PHP] session.gc_maxlifetime
| From: | Shaw, Chris - Accenture | Date: | Fri, 09 Sep 2005 17:21:17 +0000 |
| Subject: | RE: [PHP] session.gc_maxlifetime | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-222093@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Gustav Wiberg [mailto:gustav@varupiraten.se]
> Sent: 09 September 2005 14:40
> To: PHP General
> Subject: [PHP] 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
*************************