Hi People,

I've a really strange problem, when I turn on session in php.ini (session.auto_start = 1), my download page (exportExcel.php) stop working :
header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=\"filename.xls\"");

1. when I mean stop working it is trying to download the entire page (exportExcel.php) instead of the attachment (filename.xls)???

2. But if I turn off session in php.ini (session.auto_start = 0), it works fine, I can down the attachment. This only happens in our Production environment, i can't duplicate the same problem in our Development and Testing environments, very odd. All Environment uses the same apache web server and same version of PHP version 4.2.2.

Thank you for your time.
Cheers
Sunny.