September 2002
Intermediate to advanced
544 pages
13h 6m
English
The quiz questions are designed to strengthen the knowledge you gain each hour. The exercises help you build on that knowledge by providing you with the opportunity to apply it to real problems.
| 1: | What is the purpose of the domain attribute of a cookie? |
| 2: | How are the names and passwords for basic authentication encoded? |
| 3: | How can users spoof hidden form fields and send values other than those that you’ve specified? |
| 4: | How do you remove an existing cookie? |
| 1: | Create a CGI program that asks a user for his name the first time he visits the page, and then sets a cookie and welcomes him by name every time he comes back. |
| A1: | The domain attribute of a cookie restricts which server the cookie will be sent to. ... |
Read now
Unlock full access