session_register or $_SESSION

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
theclay7
Forum Commoner
Posts: 50
Joined: Wed Feb 19, 2003 3:17 am

session_register or $_SESSION

Post by theclay7 »

I am using PHP 4.3 (the latest php)

i have heard that we should use $_SESSION rather than session_register to register a session...is it true?

also I should no longer use session_is_registered() or anything alike....i should use isset($_SESSION()) instead....

can anyone give comments about the usage of session in PHP4.3 or the latest version :lol:
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

Correct. RTFM :P
Post Reply