a) JVM b) JRE c) JIT d) JDK Answer: c Explanation: JIT optimizes bytecode to machine specific language code by compiling similar ...
View QuestionWhat is the default number of seconds that cached session pages are made available before the new pages are created?
a) 360 b) 180 c) 3600 d) 1800 Answer: b Explanation: The directive which determines this is ...
View QuestionNeglecting 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.
a) session.domain b) session.path c) session.cookie_path d) session.cookie_domain Answer: d Explanation: The directive session.cookie_domain determines the domain ...
View QuestionIf the directive session.cookie_lifetime is set to 3600, the cookie will live until ____________
a) 3600 sec b) 3600 min c) 3600 hrs d) the browser is restarted Answer: a Explanation: ...
View QuestionIf session.use_cookie is set to 0, this results in use of _____________
a) Session b) Cookie c) URL rewriting d) Nothing happens Answer: c Explanation: The URL rewriting allows ...
View QuestionWhich directive determines how the session information will be stored?
a) save_data b) session.save c) session.save_data d) session.save_handler Answer: d Explanation: The class SessionHandler is used to ...
View QuestionHow many ways can a session data be stored?
a) 3 b) 4 c) 5 d) 6 Answer: b Explanation: Within flat files(files), within volatile memory(mm), ...
View QuestionWhich one of the following is the very first task executed by a session enabled page?
a) Delete the previous session b) Start a new session c) Check whether a valid session exists d) ...
View QuestionWhich of the following statements is used to add an attachment to the mail?
a) $mimemail->attachment(‘attachment.pdf’); b) $mimemail=>attachment(‘attachment.pdf’); c) $mimemail->addAttachment(‘attachment.pdf’); d) $mimemail=>addAttachment(‘attachment.pdf’); Answer: c Explanation: Call the Mail_Mime object’s addAttachment() method ...
View QuestionHow many configuration directives pertinent to PHP’s mail function are available?
a) 4 b) 5 c) 6 d) 7 Answer: b Explanation: They are- SMTP, sendmail_from, sendmail_path, smtp_port, ...
View Question