On Wednesday, Mar 12, 2003, at 06:46 US/Pacific, Daniel Napolitano wrote: > If my aim is not to allow sessions to persist but rather use the client > variables in order to scale the application. If I can't use client > variables how would I then scale the web service? Potentially this web > service will be used by a large number of people.
First a note about scalability of session variables in CFMX: With CFMX you can rely on the underlying J2EE session mechanism and use session scope variables in CF. macromedia.com uses this approach and our peak traffic typically creates about 15,000 active sessions - plenty of scalability. Second, the caveat about web services: Web services calls are typically stateless so you will not have / maintain session data because there is not necessarily a uniform way to maintain that session on the client. It sounds like you will be creating a service that can support all sorts of clients, not just CF? Perhaps the approach to take is to have the login / authentication method of the web service return some magic token that is then passed back in to each subsequent web service call (you may not be able to rely on cookies if you are supporting all manner of clients). You could then maintain a server-side mapping from the magic token to the user details or pseudo-session. Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription Find out more: http://www.macromedia.com/go/devnetsubs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4