I have coldfusion application and currently I am two site under the same folder.
- Root
- Site 1.
- Site1: Application.cfc.
- Site 2
- Site2: Application.cfc.
- Site 1.
Both are using two different sessions.
I want to access a function of Site2 in Site1 but having problems because of the different session.
I had even tried accessing data through scope variable but that also didnt work.
Is there any solution to do this or is it not possible?
Is there any possibility to get name of the application on function. So, that the function can know which application is making the request.
Ex: If function of Site2 get request from Site2 then dont ignore session variable, but ignore if Site1 is making the request