For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2005 > Re: [PHP-DB] what is the value of session_register









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] what is the value of session_register
Larry E. Ullman

2005-09-22, 6:56 pm

> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com