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
Norland, Martin

2005-09-22, 6:56 pm

(top posted because the subject says it all)
"session_register -- Register one or more global variables with the
current session "

It's pretty much deprecated in favor of the $_SESSION superglobal.

It's recommended not to mix the two, and it functioning properly depends
on register_globals being enabled. (which is defaulted to off since php
4.2.0).

Hit up http://www.php.net/ 's documentation for more on this.

cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257

The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: jonathan [mailto:news_php@arclocal.com]=20
Sent: Thursday, September 22, 2005 12:17 PM
To: php-db@lists.php.net
Subject: [PHP-DB] what is the value of session_register. .

Is there any values to this function? I'm looking over some code =20
where this is a done a bunch of time and I don't see any value to =20
it. Maybe I'm naive about the internals but...

-jonathan
Sponsored Links







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

Copyright 2009 codecomments.com