InterviewSolution
Saved Bookmarks
| 1. |
What will the function session_id() return is no parameter is passed?(a) Current Session Identification Number(b) Previous Session Identification Number(c) Last Session Identification Number(d) ErrorI have been asked this question in homework.My question is based upon Session Handling-2 topic in chapter File and Session Handling in PHP of PHP |
|
Answer» RIGHT answer is (a) Current Session IDENTIFICATION Number Best explanation: The FUNCTION session_id() will RETURN the session id for the current session or the empty STRING (” “) if there is no current session. |
|