> Better ways of handling your session variables.....
> Copy your entire session scop to a request variable in Application.cfm and
> back again in onRequestEnd.cfm.  This way during the users request to site
> whatever session variable you need is in the request scope.  No messing
> with cflocks in the rest of your code.... Make sure you do a Duplicate()
> rather than StructCopy or request.session = session....

This isn't a bad method ... The only thing I would add is that you need to
remember to consider <cfinclude template="onrequestend.cfm"> before any
<cfabort> tag, such as just after a <cflocation> tag. Using a cfabort in the
middle of the page obviously terminates page processing, but it's sometimes
easy to forget that you have important session management going on further
down the page in the onrequestend.cfm that won't occur if you don't
cfinclude it before you abort the page.

Isaac Dealey
www.turnkey.to
954-776-0046
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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