I set over 120 session variables. The bottleneck in the site is logging in.
After that, it is usually smooth sailing.

--Jeffrey

> If so, what is the magic behind the request scope, and how much
> performance
> does it cost? I've got 50 application-wide variables, and I hate
> to set them
> every page request.

setting 50 variables is negligible. (OK I haven't actually tested that but I
use this sort of technique all the time and I haven't been smitten by
lightning bolts yet.) If I use Application scope variables I copy them to
Request scope at the beginning of each page anyway. For something like a DSN
for example, I would set it "Request.DSN=..." in app_globals.

Regards,
Matthew Walker

<!---
  ============================================
       E l e c t r i c   S h e e p   W e b
  --------------------------------------------
    Tel....: +64-3-374 2137
    Mobile.: +64-25-605 5747
    Fax....: +64-3-377 7930
    Web....: http://www.electricsheep.co.nz/
    Post...: P O Box 13-907, Armagh
             Christchurch, New Zealand
    Street.: 71 Durham Street
             Christchurch, New Zealand
  ============================================
--->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to