How to initiate a session in PHP?
- session_initialize()
- start_session()
- session_start()
- initiate_session()
In PHP, you can initiate a session by using the session_start() function. It must be called before accessing any session variables. Learn more: http://php.net/manual/en/function.session-start.php
Loading...
Related Quiz
- What are some differences between the include and require statements in PHP?
- The $GLOBALS superglobal in PHP is an associative array.
- PHP was originally created by ______ in the year ______.
- What is the purpose of the array_merge() function in PHP?
- What is a common use case for the $_REQUEST superglobal in PHP?