Solved

Getting Unique User Info

Posted on 2004-08-12
8
120 Views
Last Modified: 2013-12-24
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?
0
Comment
Question by:Remulac
  • 3
  • 2
8 Comments
 
LVL 35

Expert Comment

by:mrichmon
Comment Utility
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.
0
 
LVL 11

Expert Comment

by:hart
Comment Utility
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..

Regards
Hart
0
 

Author Comment

by:Remulac
Comment Utility
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.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 35

Expert Comment

by:mrichmon
Comment Utility
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.
0
 

Author Comment

by:Remulac
Comment Utility
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.
0
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
Comment Utility
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
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now