CFDocument PDF losing session in IE6?

Hello, helpful people!
I've got a very curious problem in Cold Fusion 8. The
onSessionEnd is called once one of my users opens a CFDocument.
Specifically: I have a link to open the same page in a PDF.
Once a user clicks this link, my log shows the onSessionEnd
message, and the user is prompted to login again once they navigate
to a new page.
Interestingly, this does NOT occur in Firefox, IE7, or in
some cases of IE6 (I haven't been able to determine what the
difference is between the IE6 instances). Users who have this
problem *consistantly* have the problem.
I'm guessing it has something to do with a setting in IE6 -
can anyone point me in the right direction?
Thank you for any help you can give!
Best wishes,
Cat

An interesting update:
the IE6 version that isn't working seems to be:
6.0.2900.2180
However, the following IE6 version works:
6.0.3790.3959
Both with the same settings, as far as I can tell.
I'm not listing this as the root cause of the issue - it may
be a red herring. However, the 3 instances of the 6.0.29 version
all display the issue, and the 1 instance of 6.0.37 does not, so it
was worth mentioning.

Similar Messages

  • Bug #81169 - Div bkgrnd color (of 1st div w/ content) not honored if cfdocument/pdf written to disk

    Bug for: Div background color (of 1st div w/ content) is not honored when cfdocument/pdf is written directly to disk.
    ==================
    Steps to reproduce
    ==================
    Run the following code with (and without) the cfdocument 'name' attribute.  Then compare both PDFs (the PDF written directly to browser, and the PDF written directly to disk)
    <cfdocument format="pdf" name="myPDF">
    <div style="background-color:#1a9cee;"></div>
    <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 1st div w/ content. Background color is only honored when PDF is written to browser. When PDF is written to disk, background color is near black.</div>
    <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 2nd div w/ content. Background color is always honored.</div>
    </cfdocument>
    <cfif structKeyExists(variables, "myPDF")>
      <cfpdf action="write" source="variables.myPDF" destination="#expandPath('./MyPDF.pdf')#" overwrite="yes" />
    </cfif>
    ==================
    Attachments
    ==================
    PDF written directly to disk: 20091214_Bug_81169_CFDocumentPDFDivBkgrndColorNotHonored_01.pdf
    PDF written directly to browser: 20091214_Bug_81169_CFDocumentPDFDivBkgrndColorNotHonored_02.pdf
    Thanks!,
    -Aaron Neff
    Btw, this bug is new to CF9.  This bug did not affect CF 8.0.1.

    Ok, if anyone else is experiencing this same issue, here is a workaround.  The issue is that when a cfdocument-generated PDF is written directly to disk, then the background color of the 1st non-empty block-display HTML element is ignored (unless there is an inline-display HTML element preceding it).  Instead, the background color is near-black.
    So, the workaround is to simply ensure an inline-display HTML element preceds the problematic block-display HTML element.  (a <span></span> will do the trick)
    Here was the original code.  Note that line #3 is the 1st non-empty HTML element, and that it is a div (block-display), and it has a background color.  If the PDF is written to disk, then the specified background color is ignored.  Instead, the background color is near-black.  Again, this does not occur when the PDF is written directly to browser.
    1| <cfdocument format="pdf" name="myPDF">
    2| <div style="background-color:#1a9cee;"></div>
    3| <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 1st non-empty block-display HTML element. Background color is only honored when PDF is written to browser. When PDF is written to disk, background color is near black (unless preceded by an inline-display HTML element).</div>
    4| <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 2nd div w/ content. Background color is always honored.</div>
    5| </cfdocument>
    6| <cfif structKeyExists(variables, "myPDF")>
    7|   <cfpdf action="write" source="variables.myPDF" destination="#expandPath('./MyPDF.pdf')#" overwrite="yes" />
    8| </cfif>
    Here is the 'fixed' code (note that "display:inline" has been added to line #2):
    1| <cfdocument format="pdf" name="myPDF">
    2| <div style="background-color:#1a9cee; display:inline;"></div>
    3| <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 1st non-empty block-display HTML element. Background color is only honored when PDF is written to browser. When PDF is written to disk, background color is near black (unless preceded by an inline-display HTML element).</div>
    4| <div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 2nd div w/ content. Background color is always honored.</div>
    5| </cfdocument>
    6| <cfif structKeyExists(variables, "myPDF")>
    7|   <cfpdf action="write" source="variables.myPDF" destination="#expandPath('./MyPDF.pdf')#" overwrite="yes" />
    8| </cfif>
    magical

  • Losing session with WLS 7.02 in cluster env

              PROBLEM: We are losing our session when running in our app in a clustered environment.
              The user can use the app for a while, but then weird stuff starts happening. In
              some cases, the login check that we do at the begining of each request fails,
              because it tries to check for a login token in the session, and the session has
              been wiped out. The user gets forwarded to the login page.
              Our configuration is:
              WLS 7.0.2 (OS = Windows 2000)
              Admin Server and a managed server A at APP1 (physical machine), another managed
              server B
              at APP2 (physical machine), A and B is in one cluster. We had 6 Apache Servers
              2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The weblogic
              plugin has the following configuration:
              <Location /sample>
              SetHandler weblogic-handler
              WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
              Idempotent ON
              CookieName JSESSIONID
              </Location>
              The server A and B use round-robin loadblancing, and we have a hardware loadblancer
              infront of Apache to do loadblancing for our 6 web servers.
              In weblogic.xml we config our application to use replicated for session failover.
              Losing session is randomly happened.
              Anyone of you have any idea?
              Thanks in advance.
              Harry
              

    To verify that it is WL and not your app logic, try using a different
              session replication implementation for testing, such as the one that comes
              with Coherence for Servlet 2.3 containers:
              http://www.tangosol.com/coherence.jsp
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Harry Yu" <[email protected]> wrote in message
              news:[email protected]...
              >
              > PROBLEM: We are losing our session when running in our app in a clustered
              environment.
              > The user can use the app for a while, but then weird stuff starts
              happening. In
              > some cases, the login check that we do at the begining of each request
              fails,
              > because it tries to check for a login token in the session, and the
              session has
              > been wiped out. The user gets forwarded to the login page.
              >
              > Our configuration is:
              > WLS 7.0.2 (OS = Windows 2000)
              > Admin Server and a managed server A at APP1 (physical machine), another
              managed
              > server B
              > at APP2 (physical machine), A and B is in one cluster. We had 6 Apache
              Servers
              > 2.0.45 (OS = Linux) and each works together with Weblogic Plugin. The
              weblogic
              > plugin has the following configuration:
              > <Location /sample>
              > SetHandler weblogic-handler
              > WeblogicCluster 10.1.1.11:7010,10.1.1.12:7010
              > Idempotent ON
              > CookieName JSESSIONID
              > </Location>
              >
              > The server A and B use round-robin loadblancing, and we have a hardware
              loadblancer
              > infront of Apache to do loadblancing for our 6 web servers.
              >
              > In weblogic.xml we config our application to use replicated for session
              failover.
              >
              > Losing session is randomly happened.
              >
              > Anyone of you have any idea?
              >
              > Thanks in advance.
              >
              > Harry
              >
              

  • Losing Session for Weblogic 7.0.2 in Cluster env

              PROBLEM: We are losing our session when running in our app in a clustered environment.
              The user can use the app for a while, but then weird stuff starts happening. In
              some cases, the login check that we do at the begining of each request fails,
              because it tries to check for a login token in the session, and the session has
              been wiped out. The user gets forwarded to the login page.
              Our configuration is: WLS 7.0.2 (OS = Windows 2000) Admin Server and a managed
              server A at APP1 (physical machine), another managed server B at APP2 (physical
              machine), A and B is in one cluster. We had 6 Apache Servers 2.0.45 (OS = Linux)
              and each works together with Weblogic Plugin. The weblogic plugin has the following
              configuration: <Location /sample> SetHandler weblogic-handler WeblogicCluster
              10.1.1.11:7010,10.1.1.12:7010 Idempotent ON CookieName JSESSIONID </Location>
              The server A and B use round-robin loadblancing, and we have a hardware loadblancer
              infront of Apache to do loadblancing for our 6 web servers.
              In weblogic.xml we config our application to use replicated for session failover.
              Losing session is randomly happened.
              Anyone of you have any idea?
              Thanks in advance.
              Harry
              

    The advice on version numbers given above is quite generic. While JDK 1.4 may work, if you want to run a supported configuration the answer to this question depends on what OS you're running. Further, BEA supports different JDK versions for running the server and for client applications. Here is the whole chart:
    http://e-docs.bea.com/platform/suppconfigs/configs70/70_over/overview.html
    Be sure to click on your operating system to get the specific information about what JDK is "fully-supported" and what is "client-only".
    Hope that helps,
    Justin

  • Help!  Pdf losing all non-visible layers

    Pdf losing all non-visible layers when saving for first time in Illustrator 2014 (Creative Cloud). The next time I try to open the document it was flat and the only remaining information was (from the visible layers) was locked into a clipping mask. It is like the document was overwrited with a print(flat) pdf. The document also suddenly became 11 pages long (with 10 empty pages).
    Anyone knows how/if I can get the information back?

    But the editing capabilities box was checked so that probebly wasn't the thing.
    Yes I have definitly learned that by now...

  • Deployig to a Cluster without losing session.

    Hi,
              We have a cluster setup with 4 servers. We use HttpSession and
              StatefulSessionBeans in the cluster with in-memory replication. Is it
              possible to redeploy the application to a cluster without losing
              session ?.
              Thanks,
              -Senthil.
              

    We have a cluster setup with 4 servers. We use HttpSession and          > StatefulSessionBeans in the cluster with in-memory replication. Is it
              > possible to redeploy the application to a cluster without losing
              > session ?.
              Not with WebLogic session replication. The session replication is "lazy"
              (only when something happens) so the best approach is to make sure there are
              no imcompatibilities and then cycle the cluster one server at a time, maybe
              one server every hour (or whatever your session timeout is).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Senthil" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              >
              > Thanks,
              > -Senthil.
              

  • Losing session ... please help me

    I am developing a program that connect between Applet and Servlet.
    I have a problem that losing session in servlet , when I request a servlet using URLConnection in Applet.
    I don't know why the servlet loses the session.
    I guess that the session is changed when I connect server by URLConnection.
    please give me a hand...

    Try using a java.net.HttpURLConnection instead of java.net.URLConnection. Your session is probably not maintained across requests because cookies aren't being handled properly.

  • IE6 losing session data

    Hi all,
    I've a wierd problem wherein the session data is lost only in IE6 browser. I'm storing all the parameters passed to my application in the Httpsession object, but for some reason in IE6 browser the session object becomes null. And all the data I store is lost.
    This doesn't happen in IE5 or IE5.5.
    CAn anyone help?
    Thanks,
    nkoneru

    I think you are using IE6 plus SP1. If yes try uninstall SP1 and you should be able to run an application as expected. I just had experienced "lost session" on WebSphere 4(WS4) with IE6+SP1 so I tested IE6+SP1(with varity of configuration setting) with WS on all SP of WS -> still lost the session. But testing IE6+SP1 on another application servers, I just tried couple of them but it all work fine. I finally test IE6 without SP1 -> the session is worked fine with the same application that didn't work on IE6+SP1.
    Guess it is the conflict between WS and IE6+SP1
    hope this helps.

  • How to delete pdf files created on server using cfdocument pdf?

    I am using <cfdocument format="pdf" ...
    to create a dynamically named and generated .pdf and it works rather well.  Navy managers can easily email the pdf to ships in the fleet and planning forces in the shipyards. (Planning data changes almost daily). However I have noticed that the pdf file stays on the server.  Over time this could become a problem with numbers.  Is there something I am missing to remove these pdfs over time.  Other than a manual review and delete.  This government server requires 4 logins and your right arm to update, so something auto is needed.

    Thanks for responding:
    I am not using cfmail - I am leaving it up to the user to print save or email.
    Your second option sound good but I really was hoping I was just missing something easy (new to cf).
    I did try giving the pdf the same name but I was having lots of troble with always returning the cached version.

  • CFDOCUMENT PDF generation peformance on Linux running CF server 8 or 9 is horrible

    Can anyone help me understand how I can get the <cfdocument> tag to generate PDFs in reasonable time (and without throwing timeout errors) when running on CF 8 on Linux? Running on CF 9 doesn't make a difference, either. I can run the same code that generates a PDF on a Win 7 system and it completes the 1-2 page PDF in seconds.  Do the same thing in CF8/9 on Linux and it takes so long (minutes) and then throws a timeout error. When we tried using Railo instead of CF8/9 it ran fine as well.

    Our apps guy figured out the problem after googling the error log message. To put this in context, the deployed app is running in a Tomcat container on Linux.
    The root cause is Java's AWT thinking there should be an Xserver available to talk to.  Somehow in the code interactions during the PDF generation,  calls are made to an Xserver that doesn't exist, with an absurdly long  timeout.  Adding the line "-Djava.awt.headless=true" to the catalina.sh  script has solved the issue.
    Hope this helps others!
    Tea man

  • Images not displaying in CFDOCUMENT PDF

    Hi there,
    Has anyone notice any problems with images in dynamic PDF
    using CFDOCUMENT? I have a site where I create several dynamic PDF
    document (with images) and all of a sudden, they stop displaying.
    The only new addition was a SSL for the site.
    Any help would be greatly appreciated.

    Thanks, Isaac.
    My reason for posting that I was trying the src="file://E:\ solution before putting it in CFDocument was that I figured if it didn't work with the browser, it probably wouldn't work with CFDocument, which was probably presumptuous of me.  I just tried using the IP Address instead of E:\etc and it shows up in the browser.  Good news, the IP Addresses fix the logo problem, but not the CFChart problem.
    Here's the failed img tag:
    <img src="logo_30.jpg" width="96" height="50" border="0" alt="">
    Here's the successful img tag:
    <img src="http://ipaddress/portal/PROD/Forms/monthly_reports/logo_30.jpg" width="96" height="50" border="0" />
    Here's the chart code:
    <CFQUERY NAME="GrabData" datasource="admi-prod">
              sql goes here
    </CFQUERY>
    <cfset gwidth = 450>
    <cfset gheight = 320>
    <cfset min = int(arrayMin(grabData["total_inventory"])) - 1>
    <cfif int(arrayMin(grabData["total_idle_capital"])) LT min>
            <cfset min = int(arrayMin(grabData["total_idle_capital"])) - 1>
    </cfif>
    <cfset max = ceiling(arrayMax(grabData["total_inventory"])) + 1>
    <cfchart scalefrom="#min#" scaleto="#max#" title="Total Closing Inventory & Total Idle Capital" format="jpg" chartheight="#gheight#" chartwidth="#gwidth#">
            <cfchartseries type="line" query="grabData" valuecolumn="total_inventory" itemcolumn="xlabel"/>
            <cfchartseries type="line" query="grabData" valuecolumn="total_idle_capital" itemcolumn="xlabel"/>
    </cfchart>

  • Cfdocument pdf rendering problem

    When you create a PDF using cfdocument, the <I>
    </I> tag and <B> </B> tag renders incorrectly
    sometimes. When it's at the edge of the table, the text inside the
    tags is repeated twice. And sometimes, it truncates the space or
    spaces before the tag. Or it would overlap the tagged text over the
    text before the tag. Has anyone encountered any of these
    problems?

    Post Author: vtec
    CA Forum: Exporting
    We are having a similar issue. Importing a perfectly justified word document as an OLE Object in Crystal.  The document seems perfect in the viewer but when exported to PDF, the text seems to overlap each other and there are huge spaces between words.  Using Crystal 11 release 2 (version 11.5.8.826).  Any help would be greatly appreciated.

  • JPG images bloat CFDocument PDF 10X

    We're creating PDF files using the CFDocument tag. We're
    including JPG images in the document. The JPG files are 1MB in file
    size total but the resulting PDF file is 11+ MEGs (10X). I've been
    searching the forums and Internet but I'm having trouble finding
    anything about this. All I could find on the topic is something
    about duplicate color spaces but it didn't solve anything.
    Note that if I open the file in Acrobat, I can
    compress/optimize it down to less than 1 MEG but that's not a
    practical solution programming-wise. I wish there was a way to call
    Acrobat from CF to take advantage of the optimization feature.
    Does anyone know of a fix or work around for this? We'll be
    generating thousands of PDFs and this will be a big problem. Do you
    know of an alternate way to generate PDF files from CF. OR how
    about a command line utility or CFX for compressing PDF files?

    How do you use it, as a service on the server watching a
    folder and doing bulk optimizations, or file-by-file from
    CF?

  • Cfdocument - PDF with clear/transparent background?

    I would like to generate a PDF file using cfdocument that has
    a completely clear / transparent background. Is this possible?
    Right now, I get a white "bounding box". Your help is
    appreciated.

    There is an attribute of the cfdocument tag of
    backgroundvisible = "yes" or "no", not sure if that will help.
    I use the background="image.jpg" of the body tag to adjust
    the background of the outputted pdf file.

  • Popup window - losing session

    Hi,
    When I use a javascript to open a popup window from a page in my pageflow, it directs to the action as intended but I am not able to access any attributes that are in the session scope.
    Can anyone please help.
    Thanks in advance.
    guruji

    Sorry,
    What I meant was to set your home page in your browser to some url (like http://amazon.com)
    instead of file://C:\temp\junk.html
    Actually setting it to about:blank may also work.
    Pankaj
    "srm" <[email protected]> wrote:
    >
    Hi,
    We are experiencing the same problem with the pop up window as well.,
    could you
    please elaborate on where you have to set the "Open with" to something
    else.,
    I will try this out.
    I tried encoding the url and it does not work when you pass it to the
    javascript
    window.open()
    Thank you,
    -S
    "Pankaj Tandon" <[email protected]> wrote:
    Hi,
    I was just browsing and came across you post. This is something we had
    encountered.
    The reason you loose your session when a popup is invoked in IE5.5 (and
    up) with
    windows XP is due to a bug in IE. More here:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;300895;cf0A1E0661=Q0NJQ1xDSGVpbmxlOnJlYWxtbnRsbToAolMlR9EI//RZc/fFPs+G
    The solution of setting the "Open With" to something other than file://
    worked
    for us.
    HTH
    "Mahesh" <[email protected]> wrote:
    HI Kelley
    Did you get it working. I am not sure about the pageflow stuff, butI
    know the
    reason behind it. You are losing the session id when the popup happens.
    Trying
    encoding the URL...response.encodeURL('/popup.do')
    Mahesh
    John Rohrlich <[email protected]> wrote:
    Kelly,
    Is the popup showing a page from a nested page flow?
    - john
    Kelly wrote:
    I'm popping open a new window and making a call to an action, but
    it
    appears that
    some session information is getting lost by the time it makes it
    to
    the called
    action.
    If I switch it to use the original window it works, but unfortunatelyI must use
    a popup.
    Any ideas on what might be causing this?

Maybe you are looking for

  • Seagate external drive not recognized

    Seagate Back Up Plus external drive is no longer recognized by my Macbook Pro. There were no warnings or prompts just one day was no longer recognized by Finder, Disk Utility and Disc Warrior can't see it either. I can hear the whirring sound of it s

  • Cancelled my subscription and I'm still getting billed.

    I'm very irrtated and frustrated. I cancelled my subscription a long time ago and they are still billing me. I did it again a couple of days ago and the payment went through even when I deleted the subscription. Now they are trying to bill me on my o

  • Retrieve floating point data with an sql select statement

    Hi I'm quite new to using sql but I have a system working where I can read and write strings to an access database. Now I want to retrieve a a float, from a field where another field in the same post corresponds to a specified float, with a select st

  • Airport express without modem

    I am traveling and want to use my airport express airplay with a Bose Wave radio in a location with limited wireless.  Do I need a wireless network to use airplay to my imac?

  • My phone cannot receieve calls or messages

    My I phone goes straight to VM when I am called and will not receive messages.  Outgoing calls and messages work fine I have reset and restored