IE7 + SSL + Printing
Posted: Thu Feb 05, 2009 4:19 am
Hi,
This one is currently confusing me and frustrating me immensely, as there seems to be now logic!
I have a web application that runs over SSL (HTTPS) and as part of the the application is a document builder with the facility to print. This works without a problem in our dev environment (HTTP) but has the following oddness in our live system.
Note: This only affects IE7, not IE6, Firefox, safari! Just IE7
Here is the scenario:
1. Log in
2. Browse through to print page
3. Print Preview - All looks ok
4. Print - Print out has broken images
5. Click refresh - You get redirected to Login prompt
6. Log in
7. Browse through to print page
8. Print - All prints perfectly with no logging out?!?!
I am wasting so much paper trying to solve this problem!
I have tried placing the below at the top of the print page, as recommended for another similar issue I read about:
It has not worked, and I must confess I have always put the Privacy Policy stuff to the back of my mind.
It seems to me that on the first launch that when IE7 actually sends the job to the printer it is losing the PHP session cookie and thus logging out prior to it reaching the printer. This raises three questions:
1. Why is no one else experiencing this problem?
2. Why is IE7 insisting on trying to download the page again when send to the printer? (remember, the print preview looks all ok)
3. Why does IE7 only do this the first time of printing?
Any help / pointers will be gratefully read and tried, as long as the rain forests can sustain my printer until I get it fixed!!!
This one is currently confusing me and frustrating me immensely, as there seems to be now logic!
I have a web application that runs over SSL (HTTPS) and as part of the the application is a document builder with the facility to print. This works without a problem in our dev environment (HTTP) but has the following oddness in our live system.
Note: This only affects IE7, not IE6, Firefox, safari! Just IE7
Here is the scenario:
1. Log in
2. Browse through to print page
3. Print Preview - All looks ok
4. Print - Print out has broken images
5. Click refresh - You get redirected to Login prompt
6. Log in
7. Browse through to print page
8. Print - All prints perfectly with no logging out?!?!
I am wasting so much paper trying to solve this problem!
I have tried placing the below at the top of the print page, as recommended for another similar issue I read about:
Code: Select all
header('P3P: CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL"');It seems to me that on the first launch that when IE7 actually sends the job to the printer it is losing the PHP session cookie and thus logging out prior to it reaching the printer. This raises three questions:
1. Why is no one else experiencing this problem?
2. Why is IE7 insisting on trying to download the page again when send to the printer? (remember, the print preview looks all ok)
3. Why does IE7 only do this the first time of printing?
Any help / pointers will be gratefully read and tried, as long as the rain forests can sustain my printer until I get it fixed!!!