Note that there are some explanatory texts on larger screens.

plurals
  1. POstrange session bug with PHP and PDF generating
    primarykey
    data
    text
    <p>I'm experincing a very odd session error in a clients web-app that generates PDF reports from the admin system. It's only in IE browsers, becasue IE is the only browser with the functionality that produces the "bug".</p> <p>The admin login sets a session to know that you'r logged in correctly and the PHP-file generating the PDF is a seperate file, opening in a new window so initaly I never used session_start() in that file - I later added it there too without any change.</p> <p>The problem is very odd indeed, becasue when the PDF is generated you can save it or print it without any problems - you'll still be logged in when you close the pop-up and go back to the system. Except... for one very special use case.</p> <p>As you see the PDF in the IE window, you get a floating menu at the bottom of the PDF. The adobe-icon at the far right gives you additional PDF menu bars when clicked and also adds the <em>new</em> option "File -> Send -> Send File" so that you can email it as an attachment via outlook.</p> <p>This is where my session problems occour. Whenever a user clicks this adobe icon, gets the new file-option to email as an attachment with outlook, my session is gone the moment it's done and the pop-up closed!</p> <p>I have no idea how this could be possible, if it's outlook that screws with the sessions, or if it's adobe reader, or ....</p> <p>It's a long shot, but if anybody out there have had experince with this or have any suggestions on how I can keep my session active after using this functionality it would be very much appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload