Jump to content
Software FX Community

RE: temp files on clustered web servers


Software FX

Recommended Posts

ChartFX IE 4 supports "on the fly" image generation, using this approach no files are generated so the server component is cluster-friendly. The only drawback using this approach is that you will not be able to generate image maps.

Code in your page

<IMG SRC="ChartImage.asp" WIDTH=500 HEIGHT=350>

ChartImage.asp Source code

<!-- #include virtual="/Include/CfxIE4B.inc" --><%

' Please note the way this ASP is coded to avoid any newline or other characters

' to be sent to the client (all the code is SERVER side code)

Set chart = Server.CreateObject("ChartFX.WebServer4B")

' Add your code here to customize the chart

' Note the use of GetHtmlData instead of GetHtmlTag

chart.GetHtmlData 500,350,"Image"

%>

Regards,

Juan Cegarra

Software FX, Inc.

juanc@softwarefx.com

-----Original Message-----

From: Scott Deitz [ mailto:sdeitz@nordby.com]

Posted At: Wednesday, September 15, 1999 6:22 PM

Posted To: Server

Conversation: temp files on clustered web servers

Subject: temp files on clustered web servers

Another question - we're actually using CfxIE4 beta...

We have several web servers clustered using Convoy Cluster/WLBS. There

have been some problems with broken image tags every so often while

hitting the cluster web address. This doesn't happen when you hit the

web server by IP address, bypassing the clustering software.

What seems to be happening is that CfxIE creates the image file in the

Cfx temp directory, then the user is sometimes moved to a different web

server in the cluster before the image is displayed resulting in a

broken image link. I'm not sure why this happens as this is one ASP page

creating and displaying the image...

Are there any strategies to deploy CfxIE on clustered web servers?

Thaks for any advice...

Link to comment
Share on other sites

ChartFX IE 4 supports "on the fly" image generation, using this approach no files are generated so the server component is cluster-friendly. The only drawback using this approach is that you will not be able to generate image maps.

Code in your page

<IMG SRC="ChartImage.asp" WIDTH=500 HEIGHT=350>

ChartImage.asp Source code

<!-- #include virtual="/Include/CfxIE4B.inc" --><%

' Please note the way this ASP is coded to avoid any newline or other characters

' to be sent to the client (all the code is SERVER side code)

Set chart = Server.CreateObject("ChartFX.WebServer4B")

' Add your code here to customize the chart

' Note the use of GetHtmlData instead of GetHtmlTag

chart.GetHtmlData 500,350,"Image"

%>

Regards,

Juan Cegarra

Software FX, Inc.

juanc@softwarefx.com

-----Original Message-----

From: Scott Deitz [ mailto:sdeitz@nordby.com]

Posted At: Wednesday, September 15, 1999 6:22 PM

Posted To: Server

Conversation: temp files on clustered web servers

Subject: temp files on clustered web servers

Another question - we're actually using CfxIE4 beta...

We have several web servers clustered using Convoy Cluster/WLBS. There

have been some problems with broken image tags every so often while

hitting the cluster web address. This doesn't happen when you hit the

web server by IP address, bypassing the clustering software.

What seems to be happening is that CfxIE creates the image file in the

Cfx temp directory, then the user is sometimes moved to a different web

server in the cluster before the image is displayed resulting in a

broken image link. I'm not sure why this happens as this is one ASP page

creating and displaying the image...

Are there any strategies to deploy CfxIE on clustered web servers?

Thaks for any advice...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...