If you set up a server with a nested server inside...
# adobe
j
If you set up a server with a nested server inside the same web root, both servers have their own CFApplication. Should they share cookies for jsessionID? (not my design... a work challenge)
r
"should" meaning "is it best practice"? Or "expected behavior"?
j
My tests show it is expected behavior. More clarity, can someone describe more functionally how this works? @Mark Takata (Adobe)?
m
John, I am trying to figure out exactly what you're describing here. So you have installed ColdFusion server, which is running as a service on the machine. It has, let's say, a webroot located at C:\ColdFusion\cfusion\webroot. You could, of course, run a 2nd ACF instance which would have its own service running, but I'm not groking the "nested server". Are you installing the 2nd CF server INSIDE the webroot directory of the first server?
j
It's an old model glue app, installed on multiple servers. There is a base application off the root, and another server running on the same domain, but in a nested path.
m
And the two applications have separate, distinct application names?
j
Yes
They both show the same session cookies. That surprised me.
Application and session variables are different, but CFID, CFToken, jSessionID are common.
m
Well, outside of that setup being... um, unique, it does maybe seem like a bug? @priyank_adobe can you chime in here, I'm trying to think of a valid reason why two separate CF services and 2 applications would share these variables.