Re: what is the value of session_register
| From: | Larry E. Ullman | Date: | Thu, 22 Sep 2005 17:56:42 +0000 |
| Subject: | Re: what is the value of session_register | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40343@lists.php.net to get a copy of this message | ||
Is there any values to this function? I'm looking over some code where this is a done a bunch of time and I don't see any value to it. Maybe I'm naive about the internals but...I'm not certain as to what exactly you are asking, but prior to PHP 4.1, I believe (possibly 4.2), session_register() is how one added elements to the session. This is before the $_SESSION variable existed. So the "value" of the function is storing session data, although that method is deprecated. Larry