Thank you for that Trey and yes Steve on J2EE ... did have a think about the jsession variables but were recommended not too by a permanent staff member here
On 9/26/06, Trey Rouse <[EMAIL PROTECTED]> wrote: > Sounds to me like your persisting some fairly static data. If you just need > user data available to these different sets of pages, I think session is > fine. > > A simple solution I've done is set a client var to the userid hash or > something similar that uniquely identifies the user. On the off chance the > session jumps servers I just rebuild it based upon this client var. > > This solution doesn't suit all needs, but if your doing something that > simple, it works very smoothly. Most commonly I use this as I store lots of > user data in structures in the session scope, and rebuild them as needed > from the client vars. > > $0.02 > > On 9/26/06, Steve Brownlee <[EMAIL PROTECTED]> wrote: > > > > Are you using J2EE version of ColdFusion? > > > > -----Original Message----- > > From: RichL [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 26, 2006 4:44 AM > > To: CF-Talk > > Subject: Session Scope in Multi-Server Env > > > > I am in the process of developing new applications from scratch > > > > I need to move data around several pages of an app with all data > > relating to the current user accessible from each page in the > > application > > > > The obvious choice for me would be to use session scope but after > > speaking to permanent members of staff here they are advising not so use > > this as sessions need to be sticky as it is a 4 server clustered > > environment... and they are advising against it because it can be > > messy/tricky > > > > On my last application developed here I resorted to passing data around > > in wddx from page to page and even writing to DB where necessary. > > > > My thoughts are that needing/wanting to use session scope variables in a > > multi-server environment must be quite a common requirement... so how do > > other people approach this situation? > > > > Thanks > > > > -- > > Rich > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

