ini_set()
| From: | Gustav Wiberg | Date: | Tue, 13 Sep 2005 19:11:14 +0000 |
| Subject: | ini_set() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-222279@lists.php.net to get a copy of this message | ||
Hi there!
I don't get it...
From the manual...
string ini_set ( string varname, string newvalue )
Sets the value of the given configuration option. Returns the old value on success, FALSE on failure. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending.
Does this mean that:
File phpcode1.php handles cookies and has the code ini_set('session.cookie_lifetime',2147483647); ini it.
File phpcode2.php has nothing to do with cookies
When user goes TO phpcode2.php FROM phpcode1.php, session.cookie_lifetime would be zero and ended when browser is closed...?
/G
http://www.varupiraten.se/