Question
a.
session.domain
b.
session.path
c.
session.cookie_path
d.
session.cookie_domain
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Neglecting to set which of the following cookie will result in the cookie’s domain being set to the host name of the server which generated it.
Similar Questions
Discover Related MCQs
Q. What is the default number of seconds that cached session pages are made available before the new pages are created?
View solution
Q. What is the default time(in seconds) for which session data is considered valid?
View solution
Q. Which one of the following function is used to start a session?
View solution
Q. Which function is used to erase all session variables stored in the current session?
View solution
Q. What will the function session_id() return is no parameter is passed?
View solution
Q. Which one of the following statements should you use to set the session username to Nachi?
View solution
Q. An attacker somehow obtains an unsuspecting user’s SID and then using it to impersonate the user in order to gain potentially sensitive information. This attack is known as..
View solution
Q. Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?
View solution
Q. Which function effectively deletes all sessions that have expired?
View solution
Q. Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?
View solution
Q. The session_start() function must appear..
View solution
Q. What is the return type of session_set_save_handler() function?
View solution
Q. Which one of the following statements should be used to disable just the fopen(), and file() functions?
View solution
Q. Which one of the following statements should be used to disable the use of two classes administrator and janitor?
View solution
Q. What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated.
View solution
Q. The memory_limit is only applicable if ___ is enabled when you configure PHP. Fill in the blank.
View solution
Q. Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?
View solution
Q. Which Apache directive outputs Apache’s server version, server name, port and compile-in modules?
View solution
Q. Which directive determines which degree of server details is provided if the ServerSignature directive is enabled?
View solution
Q. Which directive should we disable to obscure the fact that PHP is being used on our server?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!