Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4307745

Docs for using plug-in and cookies is misleading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • deploy
    • beta
    • generic
    • generic
    • Verified



      Name: rlT66838 Date: 01/27/2000


      jdk 1.2/jdk 1.3

      Just wanted to point out something misleading in the documentation for using
      cookies with the plug-in,
      http://java.sun.com/products/plugin/1.2/docs/cookie.html.

      The following paragraph and table are incorrect:

      "There is another limitation when using cookie support in Java Plug-in. When
      using Java Plug-in in Netscape Navigator, cookie support will work only if the
      document base of the HTML page is part of the codebase of the applets or
      JavaBeans. For example:

      Document base Codebase Will it work?
      ..."

        From what I understand, the issue is *not* the codebase of the applet but the
      requested URL. (An entry in the plug-in FAQ is much more accurate on this). Your
      docs should read "...cookie support work only if the document base of the HTML
      page [which serves the applet] is a subset of the requested URL...". And the
      table headers should be changed to

      Applet Document base Requested URL Will it work?

      ..."

      Hope this helps any other unfortunate developer who stumbles onto this...
      (Review ID: 100374)
      ======================================================================

            lmartinsunw Louis Martin (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: