Re: Trying to make compatible PHP4.2 scripts with 4.0.6
| From: | Wallace | Date: | Wed, 23 Oct 2002 18:52:12 +0000 |
| Subject: | Re: Trying to make compatible PHP4.2 scripts with 4.0.6 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121156@lists.php.net to get a copy of this message | ||
Marek Kilimajer helped me...
<news:3DB6D74A.2040908@webglobe.sk>
> Use a register shutdown function to session_register each variable in
> $_SESSION (hope you get the point)
Thank you !
You confirmed the method I was looking to investigate to solve my problem.
Then I had just to debug my method to apply the session_register...
For memory the correct call is :
<?
foreach( $_SESSION as $key=>$value )
{
$$key=$value;
session_register("$key");
}
?>
Easy... Why was it so hard to find ???
Goodbye.
--
Wallace