I read about that in depressedpress.com.  How is overall performance though?
I can see it being useful on pages that read or write over session.variables
a lot, but what about a site where you only access one session variable per
page?

The greater purpose of me asking is because, I'm trying to see if I can go
to a a design like this:
Front End: HTML and JavaScript.
Middle Wear: CF
BackEnd: MySQL

Thus the outside world would be seeing just HTML pages for fast performance.

-----Original Message-----
From: Rich Wild [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 12:32 PM
To: CF-Talk
Subject: RE: 10 Step Program


Rather than eliminate all your session and application variables you could
write a custom tag that does all the locking for you and copies whatever
session or application variables you want into a local scope for your
delectation.

eg:

<cf_copySharedVars vars="session.adminID,session.name,application.dsn">

creates

local.adminID
local.name
local.dsn

without you having to expressly lock.

I did this for an app that contained a *lot* of information in the app and
session scopes. It meant that I didn't have to write one lock in the entire
app (save for the initial custom tag). Worked a charm, and very fast too...


> -----Original Message-----
> From: Won Lee [mailto:[EMAIL PROTECTED]]
> Sent: 29 November 2001 17:19
> To: CF-Talk
> Subject: 10 Step Program
>
>
> Hi my name is Won Lee and I'm addicted to session variables.
>
> In an attempt to rid myself of all locking, I'm trying to
> stay away from
> application and session variables.
> One of the most common things is used for session variables is
> session.userID.
> How does one now emulate this functionality without using
> session variables.
> I thought about just using cookies, but that would hinder use
> of cflocation.
> Any ideas?
>
> How do HTML websites handle session states?
>
> =====================
> Not being a materialist in the U.S. is kind of like not
> appreciating opera
> if you live in Milan or art if you live in Paris. We support
> materialism
> better than any other culture. Because retailing and
> distribution are so
> efficient here, stuff is cheaper than anywhere else in the
> world. And then
> we have huge houses in which to archive our stuff.
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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

Reply via email to