Page 266 - DCAP408_WEB_PROGRAMMING
P. 266

Web Programming




                    Notes             The Order Form could be on several screens, with each screen adding information to the
                                       cookie.

                                      The disadvantages of using cookies for this application are:
                                           If a user has an old browser that doesn’t support cookies, this application will not work.
                                           In some browsers a user can turn on a warning every time an application attempts
                                            to write a cookie. If the user accepts the cookie, everything works fine.

                                   Self Assessment


                                   Fill in the blanks:
                                   8.  Cookies are a general mechanism which server side connections (such as CGI scripts) can
                                       use to both store and retrieve information on the ………………. of the connection.

                                   9.  A……………….., when returning an HTTP object to a client, may also send a piece of state
                                       information which the client will store.
                                   10.  Any future HTTP requests made  by the  client which  fall in  that range  will include  a
                                       transmittal of the current value of the ………………. from the client back to the server.
                                   11.  If a cookie contains a collection of multiple values, we say that the cookie has ……………….
                                   12.  If your application deals with ………………… that do not support cookies, you will have
                                       to use other methods to pass information from one page to another in your application.
                                   13.  Some people consider the use of this information harmless, but some find the gathering of
                                       information in this manner invasive to their ……………….

                                   14.  A cookie is introduced to the client by including a …………………… header as part of an
                                       HTTP response.
                                   15.  ………………… cannot be used to get data or view data off your hard drive.


                                     


                                     Caselet     Test Your Network
                                     T     he focus of this week’s pick of software is on tools for network testing. The programs
                                           featured here are mostly shareware, except where indicated.

                                     Webserver Stress Tool
                                     Webserver Stress Tool is an easy-to-use, versatile load and stress test for Web servers.
                                     It  simulates any number of  simultaneous users  accessing a  Web server  and helps  to
                                     streamline your  Web application. Any Web  page can be tested. It optionally handles
                                     proxies, passwords, user agents, cookies and ASP-session IDs.
                                     Filesize: 2969 KB
                                     Platform: Windows (All)
                                     Download location: www.paessler.com
                                     TracePlus32 Web Detective
                                     TracePlus32 Web Detective is an HTTP trace/analysis tool specifically designed for Web
                                     development. It decodes HTTP, DASL, or WebDAV protocol and displays it in an easy-to-
                                                                                                        Contd.....



          260                               LOVELY PROFESSIONAL UNIVERSITY
   261   262   263   264   265   266   267   268   269   270   271