-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I read the Allaire article on locking and am now using locks when
working with session variables. Now I am wondering if I should be using
session variables at all?

In my app, the user logs in and at that time I put a bunch of
information about them (email, username, customerid, firstname,
lastname, etc) into session variables (using Application.cfm), which I
then access all over the place to prefill form fields, do db inserts,
etc.

Of course, I have to put locks around every use of the session
variables, often multiple locks on the same page.

Is this the right way to approach this? Should I use some other scope or
method?

c
- --
Chris Lott <[EMAIL PROTECTED]>| IT Manager|p907-474-3494


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 for message encryption and authentication: USE PGP!
Comment: KeyID: 0x51046CFD

iQA/AwUBOb7VKNaLYehRBGz9EQITPACg0yaD/xZptcxSkDX/8uttVyekXoUAnjIs
j78w7mSYWWtKNFsbopRwDD3m
=N3xp
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to