Getting Unique User Info

I'm trying to write an authentication mechanism that will allow a user to log in to a suite of web applications, but only do so once for all the applications.  

So in other words, I want to maintain session state between web applications.  The best way I can think to do this is to get some sort of unique identifier from each user; a machine code or a browser serial number.  Does anyone know how to do this in CF?
Who is Participating?
mrichmonConnect With a Mentor Commented:
You cannot pass between .NET and CF unless you

1) Write web services to expose these
2) Have a way to store the info like a database and have the user log into each platform
The best way is to store a cookie with a client id (ie the CDIF and CFTOKEN) on the user machine and then store al of their variables/info in the client scope.
i think mrichmon has given you the solution, you can just use the cookies to store users value and identify him as a unique one..

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

RemulacAuthor Commented:
Sorry.  I forgot to mention that we are not going to use cookies due to security reasons and because the customer can turn them off.  This is what makes this solution a little bit tricky.
Even if the cutstomer turns off cookies you can pass the cfid and cftoken through the URL.

Using both methods is the best way to go so that they are stored as memory-only cookies if allowed and in the URL if not.
RemulacAuthor Commented:
How can I pass this information between applications; particularly between CF and .NET apps?  CFTOKEN is only for a particular session of a particular application, as far as I know.  If the user types a new URL into the address bar that takes them to another application in our suite, how will I get this info into the new app?

CF would have to know when the user is leaving the specified app, and be able to insert the token into the URL that is pointing to the new app.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.