Whenever you need to work with sessions in a PHP script, you must call the _____
ID: 3825986 • Letter: W
Question
Whenever you need to work with sessions in a PHP script, you must call the _____ function. a. set_cookie () b. session_start () c. keyword () d. session_stop () _____ are random alphanumeric strings that identifies a session. a. Cookies b. Functions c. Session IDs d. Hidden form fields Session state information is stored in the ____ autoglobal. a. _GET () b. _POST () c. _SESSION () d. _COOKIE () Write the SQL commands to create a database TEST3, create a table TEST31, CREATE columns INT), lastname(char) with one record by your information and then close all of them. Write the PHP code to connect the above database and add one more record by studentID 121212 and last name Jackson, then close everything. Define four tools for maintaining state information with PHPExplanation / Answer
38. c) Us time() method to set expiry time of a persistent cookie (http://php.net/manual/en/function.setcookie.php)
39. c) path make cookie available to differet web pages
40. d) domain make a cookie available to other servers, http://php.net/manual/en/function.setcookie.php
41 a) secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.