Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4527

Cookie and Header information Lost while processing servlets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.0.GA
    • Other
    • None
    • Windows XP; ColdFusion 8

      I'm seeing different behavior using JSP and CFMs with different versions of JBoss.

      At the top of my JSP page I include:

      <jsp:include page="../../../app/Application.cfm"/>

      Application.cfm tries to set cookie and header data:

      <cfheader name="CP" value="NOI DSP COR NID ADMa OPTa OUR NOR">
      ....
      <cfcookie name="MyCookie" value="#NewDataforCookie#" expires="never">

      Using JBoss version 4.0.5GA the header information and cookies are correctly set.
      But when I deploy the same war file with JBoss 4.2.0, both header and cookie information gets lost.

      Can this behavior in version 4.2.0 be modified via a configuration change? Is there a workaround?

      ------------------------------------------------------------------------------

      How to reproduce:

      Use JBoss 4.2.0.

      Deploy Cold Fusion war on JBoss.

      Create a JSP page and put at the top of it:
      <jsp:include page="../../../app/Application.cfm"/>

      In the referenced Application.cfm file set the following:
      <cfheader name="CP" value="NOI DSP COR NID ADMa OPTa OUR NOR">
      <cfcookie name="MyCookie" value="ArbitraryData" expires="never">

      In your browser, delete your cookies.

      Open the JSP file.
      Check for the cookie and header information.
      For us, it is getting lost.

              Unassigned Unassigned
              weisinger Dick Weisinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: