Thanks Seem to be getting somewhere
I have added the following line <cfparam name="application.loggedIn" default="#structNew()#"> and the error has now gone. What concerns me is you mentioned about locks?? I take it you mean CFLOCK, why should I use this ?? Reading Ben Forta's book it stated that NOTE : <CFLOCK> is primarily designed for use with custom tags that are not multithreaded. What benefits would I get - I know it restricts blocks of code to single threaded access - but I am having trouble getting my head around the benefits of using this??? Finally I need to build this feature in " All you'd then need to do is a datediff() against each key on each request to kill the keys you no longer need. " any ideas on code examples of how to do so... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4