What is the definition of a session?
- A way to store cookies
- A way to secure passwords
- A way to store data
- A way to optimize code
A session in PHP is a way to store persistent data across multiple requests and pages for a specific user. Learn more: http://php.net/manual/en/intro.session.php
Loading...
Related Quiz
- You are writing a PHP script and you want to execute a block of code a fixed number of times. How would you do this using a for loop?
- You are writing a PHP script and you need to add the values of two variables. How would you do this using operators?
- What are some common practices in PHP when dealing with multiple data filtering and validation?
- What function do you use in PHP to execute a query against a MySQL database?
- You cannot modify global variables using the $GLOBALS superglobal in PHP.