Jochem,

IMHO, having to explicitly test faux credentials on every request and 
logout/login each time you hit a new server in the cluster is a kludge at best. 
 

And I don't mean this as a criticism of you at all -- I highly respect your 
work; it's a criticism of Macromedia/Adobe for letting this problem go on for 
so long.

Why doesn't Adobe just fix CFLOGIN?
Respectfully,

Adam Phillip Churvis
Certified Advanced ColdFusion MX 7 Developer
BlueDragon Alliance Founding Committee



Get advanced intensive Master-level training in
C# & ASP.NET 2.0 for ColdFusion Developers at
ProductivityEnhancement.com

  ----- Original Message ----- 
  From: Jochem van Dieten 
  To: CF-Talk 
  Sent: Sunday, March 26, 2006 4:34 PM
  Subject: Re: cflogin and load balancing


  Adam Churvis wrote:
  > It doesn't work that way.  Since your CFLOGINUSER call is inside a CFLOGIN 
call, that CFLOGIN call *won't* run when the second server sees your 
authentication cookie because CFLOGIN only runs when you are *not* 
authenticated.

  So what you do is assign one standard role to everyone. When the 
  user is logged in but does not have that role assigned, you log 
  him out and in again. Role assignments get executed again on the 
  cfloginuser and the user gets his roles. Bit clumsy, but it works.

  Jochem

  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236226
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to