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




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to