Hi all,
Can some body help me with the best way to do this, I’m having no end of problems getting it running and after a week of trying to get it to work I may have to abandon CB, which I don’t want to do as the bits I can get to work are great.
I know this kind of follows on from my previous post about solitary, but I think it’s a separate issue.
I have multiple IIS sites on the same server each with their own sub domain and I need to share the session between them to do single sign on across the sites, so for example:
profile.example.com
forums.example.com
Each site has a copy of the ColdBox framework in its web root in a folder called coldbox.
profile.example.com – application.cfc has
<cfset this.name = " exampleApps">
profile.example.com – coldbox.cfc has
appName = " exampleProfile ",
forums.example.com – application.cfc has
<cfset this.name = “exampleApps”>
forums.example.com – coldbox.cfc has
appName = " exampleForums",
I’m then setting a domain cookie in both application.cfc’s in onRequestStart in order to share the J2EE session across the sites
Also I have run into issues with the wirebox instance in the application scope. Would I need to set the key differently for each application.
scopeRegistration = {
enabled = true,
scope = “application”, // server, cluster, session, application
key = “wireBox”
},
Obviously I’m not doing something right, and any help would be greatly appreciated.
Kind regards,
Richard