On Wed, Dec 15, 2010 at 8:02 AM, Leigh <cfsearch...@yahoo.com> wrote:
>
>> What do you suppose happens when you store a file handle in
>> the session scope, and the session expires?
>
> Going strictly off the documentation
>
> http://livedocs.adobe.com/coldfusion/8/functions_e-g_12.html
> "...If you do not close a file, the stream remains open; in that case, the 
> operating system can lock the file, which results in the file not being 
> usable until the server is restarted..."

I think if the session expires the file handles will be closed by the
finalizer thread but I don't think there's a guarantee regarding the
time it takes until the handles are closed.

-- 
Mack

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to