Solved

Getting Unique User Info

Posted on 2004-08-12
8
123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 11788928
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
ID: 11791209
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
ID: 11792930
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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 35

Expert Comment

by:mrichmon
ID: 11793657
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
ID: 11813038
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
ID: 11813177
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Forbidden errors 5 156
Web Site Hosting 10 95
Question to locate the problem 18 132
web & database SERVERS -- PHYSICAL & VM ? 5 81
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…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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