I am using a very nice template for multi-user login from the CFTutorials
site.  You can review pertinent snippets of the code at:  
http://www.cfvault.com/index.cfm/mode/DisplayTutorial/TuUUID/7F4D0522-EC4C-1
1D3-85030050DABEAE1B/Tutorial_Page/4 = sets up the variables in question
and
http://www.cfvault.com/index.cfm/mode/DisplayTutorial/TuUUID/7F4D0522-EC4C-1
1D3-85030050DABEAE1B/Tutorial_Page/5 = displays users logged in and
associated variables

It is working very well, with 1 exception.  

If I login to the application:
1) using different userids
2) different browser sessions 
3) on the same machine

Somehow the CFID/CFTOKEN/URLTOKEN are identical for different users logged
into the application, thus causing total confusion for the app (and
developer).  Realistically the situation of logging in as 2 different users
from the same computer is not likely, but I just don't think this should be
happening.

I assume that CFLOCK should be used, but am not sure which variables to
lock, and really don't understand all the concepts associated with this
problem.  

Please show me which application/session variables should be locked,
exclusive vs. not, what scope, etc.?  Also, I think the "session" concept is
confusing.  Shouldn't each browser window on the same computer constitute a
new session?  That is what I was thinking, but the facts in this case don't
support that.

HELP!

Bill Ficke

Below is a listing of the "identical" logged in users:

BILL FICKE is online - Force User Logoff

CFID (Value - 163) 
CFTOKEN (Value - 9161344) 
LOGGEDIN (Value - TRUE) 
LOGINSTATUS (Value - No User Name dert trew in System.) 
SESSIONID (Value - PAGENET_163_9161344) 
TIMECREATED (Value - {ts '2000-10-10 14:09:16'}) 
URLTOKEN (Value - CFID=163&CFTOKEN=9161344) 
USERID (Value - 1563) 
Created at: 10-Oct-00 02:09 PM
Will end at: 10-Oct-00 10:09 PM
That is: 414 minutes from now 

JIM MARRS is online - Force User Logoff

CFID (Value - 163) 
CFTOKEN (Value - 9161344) 
LOGGEDIN (Value - TRUE) 
LOGINSTATUS (Value - No User Name dert trew in System.) 
SESSIONID (Value - PAGENET_163_9161344) 
TIMECREATED (Value - {ts '2000-10-10 14:09:16'}) 
URLTOKEN (Value - CFID=163&CFTOKEN=9161344) 
USERID (Value - 1563) 
Created at: 10-Oct-00 02:09 PM
Will end at: 10-Oct-00 10:09 PM
That is: 414 minutes from now 
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to