> The user will have to login, before being able to use any > feature of the application. > > I was thinking to use the CF security framework (cflogin, > etc.) to manage authentication and authorization for my > application. > > Most probably the application will reside on several web > servers and the load balancing technique will be simple DNS > round robin. > > So there is chance that an user will login to server1 and his > next request will be to server2. > > I think that server2 won't automatically figure out that the > user already logged in on server1 and it will require him to > login again. > > What is the easiest way to have the all servers share the > cflogin info and prevent re-login when jumping from one > server to another? > > This is a very simple application and I'd prefer to avoid > full blown CF clustering if possible.
If you use round-robin DNS, it is unlikely that the user will be sent to one server, then another. When the user attempts to connect initially, the DNS server will issue one IP address, and that IP address will be cached for some time by the client. Even if that first server fails, the user will not be sent to another server. Aside from that, though, I don't think there's any way to share CFLOGIN data without associating it with the Session scope, and sharing that across the servers. This would require CF clustering. When you use the CFLOGIN tag, it does write a cookie which contains something, but I don't know if it contains everything that is set by CFLOGINUSER. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235885 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

