Problem with filedownload + session_start() in combination with SSL and IE
| From: | Florian Schaper | Date: | Mon, 02 Sep 2002 11:36:27 +0000 |
| Subject: | Problem with filedownload + session_start() in combination with SSL and IE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87766@lists.php.net to get a copy of this message | ||
I have a problem with file downloads using SSL in combination with PHP's
sessionmanagement.
Sample:
<?php
if( !session_is_registered('idtest') ) {
session_register('idtest');
} // if
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=ergebnis.xml");
fpassthru( fopen("test3.dat","r") );
?>
This won't work .. if the sessionlines are commented out it works fine ... I
also disabled cookies but that didn't help.
The same bug has been described by a different source at
http://www.phpbuilder.com/board/showthread.php?s=4f0de3f2a83a0ef83205e6c5009
ef543&threadid=10208295&highlight=download+SSL
This might be a bug in IE but maybe there is a way to work around ...
Hope somebody could help me out,
./regards
Florian