PHP INTERVIEW QUESTION & ANSWERS
Technical
Follow Us
11. | Name a new feature introduced with PHP 5? |
---|---|
PHP 5 introduces (among other things) SQLite support, improved XML support, and a significantly improved object model. |
Posted by Anil. (Jun 09, 2013) | |
PHP 5 Introduces An Zend Framework 2.0 and Compare To PHP 4. |
12. | What is a persistent cookie? |
---|---|
A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. |
13. | What is the difference between temporary cookies and persistent cookies? |
---|---|
Temporary cookies can not be used for tracking long term information. Persistent cookies can be used for tracking long term information. Temporary cookies are safer because no programs other than the browser can access them. Persistent cookies are less secure because users can open cookie files see the cookie values.. |
14. | What is a cookie? |
---|---|
A cookie is a small amount of information sent by a Web server to a web browser and then sent back unchanged by the browser each time it accesses that server. HTTP cookies are used for authenticating, tracking, and maintaining specific information about users, such as site preferences and the contents of their electronic shopping carts |
Posted by Vishnupriya. (Nov 29, 2013) | |
Cookie is a small amount of information that is stored on web browsers. |
Posted by Bhavesh. (Sep 05, 2013) | |
A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user’s computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values. |
15. | What is Session Id? |
---|---|
A session ID is an identification string of a session. Since there might be multiple visitors coming to your Web site at the same time, the PHP engine needs to maintain multiple sessions concurrently. Session IDs are created and maintained by the PHP engine to identify sessions. |