Session functions has been removed from PHP-5.4.0?

5.4.0 RC3 2011-12-08 Trait Support, Removed items: register_globals, safe_mode, allow_call_time_pass_reference, session_register(), session_unregister() and session_is_registered(). Several improvements to existing features.

I been teaching myself how to use these functions for over a week. What do we use now as the replacement?

For starters you can create session variables using the $_SESSION superglobal.

$_SESSION[‘name’] = ‘max21b’

You don’t register variables in the session with session_register anymore.

Instead use _SESSION['variable'] = 'value'; to register variables. And unset(_SESSION[‘variable’]); to remove variables from the session.