1. | When a session ia active, PHP provides a special constant called |
Answer: (a).SID
|
2. | If you want PHP to transparently handle passing session variables for you when cookies are not available, you have to configure |
Answer: (d).Both a and b
|
3. | A special kind of a file that is located in filesystem of your browser and can be read and write from web server, is calls as |
Answer: (c).Script
|
4. | Using $_SESSION, $HTTP_SESSION_VARS functions can be dangerous, so that you can use |
Answer: (b).session_unset ( )
|
5. | In PHP, cookies are set by using the |
Answer: (a).setcookie ( ) function
|
6. | www-authenticate mechanism works only under the |
Answer: (a).Apache web server
|
7. | What kind of session will maintain its identity as long as user stays within a site? |
Answer: (b).Variable based session
|
8. | A period of time during which a particular person, views a number of web pages at a particular machine is called as |
Answer: (a).Session
|
9. | A function that takes no argument s and return a string, which is unique key corresponding to a particular session |
Answer: (c).session_id ( )
|
10. | Name, value, expire, patrh, httponly, domain, secure all of these are arguments of |
Answer: (b).setcookie ( ) function
|