I have just done the following test:
- launch
cookieCFlocationTest1.cfm
; - launch
cookieCFlocationTest2.cfm
- launch
cookieCFlocationTest3.cfm
cookieCFlocationTest1.cfm
<!--- Write 200 cookies --->
<cfloop index="i" from="1" to="200">
<cfcookie name="cookie#i#" value="Value of text cookie number #i#: #createUUID()#"/>
</cfloop>
<cfdump var="#cookie#" label="Dump of cookie struct in the page cookieCFlocationTest1.cfm">
cookieCFlocationTest2.cfm
<cflocation url="cookieCFlocationTest3.cfm" addToken="false">
cookieCFlocationTest3.cfm
<cfdump var="#cookie#" label="Dump of cookie struct in the page cookieCFlocationTest3.cfm following cflocation">
All 3 pages ran as expected.
Operating System: Windows 10 Pro
Lucee version: Lucee Express 5.4.2.17
The only tweak I did was to add the attribute maxHttpHeaderSize="65536"
to the default connector settings in \lucee-express-5.4.2.17\conf\server.xml:
<Connector port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="65536"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" maxHttpHeaderSize="65536"/>
cookieCFlocationTest3.pdf (335.8 KB)