1.

Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?(a) session_set_save()(b) session_set_save_handler()(c) Session_handler()(d) session_save_handler()I had been asked this question by my college professor while I was bunking the class.This interesting question is from Session Handling-2 in section File and Session Handling in PHP of PHP

Answer»

The correct ANSWER is (b) session_set_save_handler()

To EXPLAIN: The function session_set_save_handler() is USED to set the user-level session storage functions which are used for STORING and retrieving data ASSOCIATED with a session.



Discussion

No Comment Found

Related InterviewSolutions