i have a running Lucee Express (now on 5.2.9.03-SNAPSHOT). If i work in Browser (latest FF or MS Edge) over URL “http://localhost:15080/myproject/” everything is fine!
My application are 2 cfm-pages.
Page 1 show
<cfdump var="#session#"> and have a link to Page 2.
Page 2 show
<cfdump var="#session#"> and have a link to Page 1.
Application.cfc looks like this:
<cfcomponent output="no"> <cfset THIS.name = "Hello"> <cfset THIS.sessionManagement = true> <cfset THIS.clientManagement = false> <cfset THIS.setClientCookies = true> <cfset this.setDomainCookies = false> <cfset THIS.applicationTimeout = CreateTimeSpan(0,8,0,0)> <cfset THIS.sessionTimeout = CreateTimeSpan(0,0,20,0)> </cfcomponent>
So if i spring between the two pages i get 1 Session ID (j2ee or cfml).
Now i connect my HTTP 2.4 with following lines in httpd.conf
ProxyPass /myapp http://localhost:15080/myproject ProxyPassReverse /myapp http://localhost:15080/myproject
ProxyPass "/myapp" "ajp://127.0.0.1:15081/myproject" ProxyPassReverse "/myapp" "http://127.0.0.1:15081/myproject"
Modules are activated and service restartet.
Now i go over Browser with URL: “http://localhost/myapp/”
In Case 1 will get a new Session-ID every time i call a page.
In Case 2 shows error, because browser try open “localhost/myproject/”
Server.xml of tomcat has port 15079 for shutdown. Port 15080 for http connector and Port 15081 for AJP connector. That makes the installer from Lucee Express.
My next try would be to install a freash tomcat.
put lucee.war in webapps.
connect http server over Case 1
And why? Because Lucee 4.5 works with that setup wonderful. And Lucee 5?