For this to work with just session data, the following has to be true.
1) All the applications need to be executing on the same ColdFusion server on the same computer box.
2) All the applications have to share the same "Application Name" OR there has to be code that will copy data from one application to another that executes somewhere in your application(s).
3) All the applications have to receive the same CFID and CFTOKEN (OR JSESSIONID) cookie values.
If all these items are true then the same session data will be available to these applications and the applications can apply whatever login logic you desire based on the data.
Thanks. But do you have any examples. That would be really helpful. I couldn't find any.
Examples of which one?
What exactly are you trying to do? How are the varous applications related to each other? What is the server and box configuration?