On Dec 19, 2007 2:03 PM,  <[EMAIL PROTECTED]> wrote:
> The reason why I ask is, we have a coupon application that doesn't work with 
> sticky
> sessions and only works with the standard sessions management option.

That statement doesn't make any sense - how can an application *not*
work with sticky sessions? That would mean it doesn't work on a single
server...

The issue here is that if you do not have sticky session, you have to
be able to manage sessions that move between servers at will. That
means that either:
1) you use client scope instead of session scope (with all the
attendant restrictions)
2) you write your own session management based on cookies
3) you rely on session replication (and, if you're not on CF8, make
sure you don't put CFCs in session scope - and if you are on CF8, make
sure you don't put arrays in the CFCs that are in session scope - and
whatever other restrictions there are)

Session replication can introduce a *lot* of network overhead between
your servers as they all try to keep each other's session data in sync
(and that can lead to performance problems or latency and session
failure anyway). I don't recommend session replication except in very,
very specific situations (and I'd generally recommend you use an
"enterprise" J2EE server that does replication in an intelligent way -
i.e., not JRun).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295144
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to