To ensure session data is only transferred over secure connections, you can enable the ________ configuration directive in PHP.
- session.use_trans_sid
- session.cookie_secure
- session.use_cookies
- session.use_only_cookies
The 'session.cookie_secure' configuration directive ensures that session cookies are only transmitted over secure (HTTPS) connections, enhancing security.
Loading...
Related Quiz
- What is the $GLOBALS superglobal in PHP?
- In PHP, the sqrt() function returns the square root of a(n) ______.
- Which PDO method is used to begin a transaction?
- The PHP function used to split an array into chunks of new arrays with specified size is ________.
- You need to close a connection to a MySQL database in your PHP script. How would you do this?