<cfchart> image expired when printing

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default <cfchart> image expired when printing

    I have an application that makes use of the <cfchart> tag to produce graphs
    from database records dynamically. The graphs all appear normally on the web
    pages, but on some computers the graph will be replaced by an 'image expired'
    message when printing the page. I have seen a lot of discussion of 'image
    expired' issues with <cfchart>, but none of them indicate that it is related to
    client differences.

    The server I use has had the 'patch' applied for correcting the general
    problem with expired images, but it doesn't seem to work for all users. While
    it seems unlikely, is there a setting in a client browser that could account
    for the fact that the printed page would appear different for different users?
    I have two computers with different operating systems (XP and 2000), but the
    same browser (IE 6.0) that fail to print the graph ('image expire'). Another
    computer running XP produces the printed graph.

    This has me baffled. Does anyone have any suggestions?



    ksynergy Guest

  2. Similar Questions and Discussions

    1. cfchart broken image
      I have three websites on the same server. Each has exactly the same page using cfchart. The chart images display correctly on one site but show up...
    2. CFCHART Image Expired CF7
      I have a script that will generate 7 Charts. If I run 10 days worth of data all the charts appear fine.(usually) 10 days of data proc time =21157...
    3. CFChart - message: "Image Expired .."
      BUMP... I am having the same issue
    4. CFCHART IMAGE EXPIRED
      I can view the chart, but when they're sent to the printer(within seconds) the print version shows the message of chart being expired.
    5. Image Expired - NO CLUSTERED ENVIRONMENT
      Does anybody have any ideas on this error? Every posting that I've seen addressing this problem ends the same way... no information. Please help!
  3. #2

    Default Re: <cfchart> image expired when printing

    Ok there's a lot going on with cfchart in the way of patches and fixes.

    First, what version of CF are you using?

    Please verify that you have these hot fixes:
    [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a11.htm#wp2619630[/url]
    in the user comments. The CF7 recipe requires adding or changing one line.

    Regards,
    -- MikeR


    MikerRoo Guest

  4. #3

    Default Re: <cfchart> image expired when printing

    Thanks for the links. I have forwarded them to the support person at the
    location providing my CF hosting. I believe he has already made some of the
    changes, but I don't know the details of what he has or has not done so far. If
    I hear back that all of them have already been made, I guess I'll be back
    looking for other ideas.

    I find it very strange that the problem would be limited to a couple of
    computers and not appear at all on others. I tried a home computer last night
    and it displayed the graph for printing with no problem. A laptop using the
    same connection failed to show the graph when printing.

    ksynergy Guest

  5. #4

    Default Re: <cfchart> image expired when printing

    The problem is semi-random, so some of the variation is coincidence.
    Also, browsers handle caching and printing differently -- and IE also behaves
    differently from one windows version to the next.

    Finally, check those links yourself.
    Many of the suggestions are applied at the program level (you), not at the
    server level.

    You can change the timeout settings for your cfchart call.
    More effectively, you can bypass the graphData.cfm. This has to be done by
    changing your code.

    Good luck,
    -- MikeR


    MikerRoo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139