Cookie and Header information Lost while processing servlets
------------------------------------------------------------
Key: JBAS-4527
URL:
http://jira.jboss.com/jira/browse/JBAS-4527
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Affects Versions: JBossAS-4.2.0.GA
Environment: Windows XP; ColdFusion 8
Reporter: Dick Weisinger
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira