In setting global variables in Application.cfm, how would
this:

request.DB = StructNew();
request.DB.DSN = "datasource";
request.DB.type = "ODBC";
request.DB.username = "admin";
request.DB.password = "password";

compare to this:

request.DB-DSN = "datasource";
request.DB-type = "ODBC";
request.DB-username = "admin";
request.DB-password = "password";

in terms of speed, memory usage, etc. I'm trying to minimise
the impact of all the request vars that are set on every
request. Is there a negligible difference here?

cheers,

- Gyrus
[EMAIL PROTECTED]
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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