Kwang Suh wrote: > > My heart goes out to you! You sound like you've had a bad experience with > a > > session variable cult, or something. But if used in its proper context, > > session variables can change your (work) life. > > Yeah, but what's "proper context"? Do people even bother to do enough > analysis to say whether they should go client or session, or do people use > session vars because that's what they've been using since they started using > CF?
> I would think that any application should be built with a well thought out > plan. Utilize whatever is best in a given situation. A proerly used session > variable works better than an inproperly used client and vice versa. > > In your darkest hour, when > > confronted with the need to pass queries of information, the number of > rows > > unbeknownst to you, from one page to another, over and over again in a > > endless, vicious cycle, you might find that session variables are your > only > > hope. > > Hardly. That's what WDDX is for. WDDX is great for hanling large recordsets but it is not as fast to access as a session scoped query on a seperate page. Again the method used is depoendent on what you need to do. > > > Yes, some people may have committed evil act in the name of session > > variables, but don't let hypocrites turn you away from the tool that > > delivered you from the hands of hidden form fields and time consuming > > database calls. > > Why would I need hidden form fields and database calls when I'm using client > variables? Take a look at your database activity. Using client variables will generate a database call. Also try holding a complex structure in a client variable. I would say use what works for you. Do not rely on any one method overly much. If you do you will find that you are not going to get the full benefits that working a rich scripting language like cf can provide. Just my 2cents worth Frederic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

