PHP Developer Question:
Download Job Interview Questions and Answers PDF
Described session in PHP?
Answers:
Answer #1A session is a logical object created by the PHP engine to allow you to preserve data across subsequent HTTP requests.
There is only one session object available to your PHP scripts at any time. Data saved to the session by a script can be retrieved by the same script or another script when requested from the same visitor.
Sessions are commonly used to store temporary data to allow multiple PHP pages to offer a complete functional transaction for the same visitor.
There is only one session object available to your PHP scripts at any time. Data saved to the session by a script can be retrieved by the same script or another script when requested from the same visitor.
Sessions are commonly used to store temporary data to allow multiple PHP pages to offer a complete functional transaction for the same visitor.
Answer #2<?php
// Starting session
session_start();
?>
// Starting session
session_start();
?>
Download PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
What is PEAR in PHP? | Described PHP? |