> I am using CFIMAGE to read CLOB data from an oracle database 
> and then write it to the browser for the end user to view.
> My thought was that the "writetobrowser" attribute will be 
> creating an instance in memory therefore the file is not 
> written to the file server.
> 
> is this true?
> 
> If so, after the image is displayed in the web browser, by 
> viewing the properties of the image, it is shown as:
> /CFFileServlet/_cf_image/_cfimg[xxxxxx]
> 
> Am I correct in assuming that the file is being written to 
> the file server within that area and then viewed by the browser?
> As well, how long does the CF Server maintain the image (just 
> for the request or is it there until the server restarts)?

That URL pattern doesn't point to an actual physical filesystem location.
That said, I don't know if there's a file being written somewhere or not.

> Now to throw another monkey wrench into the whole schema....
> How effective is this within a Load Balancing configuration?
> Is the image generated on SERVER A and then the request is 
> moved to SERVER B for the remaining requests (all one single 
> web transaction), and then the image is no longer viewable 
> since the end user is now on SERVER B but the image is on SERVER A?

Whether it creates an image in memory or on the filesystem, it won't work in
a fully load-balanced environment. The user will have to view the image on
the server that generated it. If you're using sticky sessions on your load
balancer, it'll work.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307413
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to