accessing pdf via https URL

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-03-16T17:50:48Z Indexed on 2010/03/16 17:51 UTC
Read the original article Hit count: 298

Filed under:
|

I send out a newsletter email containing URLs to a https website that then redirects to a pdf document.

On first invocation of a URL the user is prompted with the typical https browser "security alert" popup, on selecting "Yes" the display of the PDF fails. The HTTP Header on the failed response is:

HTTP/1.1 200 OK
Server: ECS/HTTP-Server
Date: Tue, 16 Mar 2010 15:57:26 GMT
Content-type: application/pdf
Content-language: en-US
Set-cookie: JSESSIONID=0000r111cRz1Vc-PtCJg8Cdu4eR:-1; Path=/
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-control: no-cache="set-cookie, set-cookie2"
Connection: close

Subsequent invocations of the URL successfully opens the PDF (at this point we have the session id cookie set by the initial failed request). The HTTP Header on the successful response is:

HTTP/1.1 200 OK
Server: ECS/HTTP-Server
Date: Tue, 16 Mar 2010 16:53:03 GMT
Content-type: application/pdf
Content-language: en-US
Connection: close

The email client is Lotus Notes 6.5 which launches an IE6 browser

Any ideas?

© Stack Overflow or respective owner

Related posts about https

Related posts about internet-explorer