note 69669 deleted from function.session-start by peehaa

From: Date: Fri, 09 Dec 2016 22:04:07 +0000
Subject: note 69669 deleted from function.session-start by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208320@lists.php.net to get a copy of this message
Note Submitter: mjr-php at ranney dot com ---- For some reason, MSIE gets confused when session_start() is called and the Content-disposition has been set to "attachment". The only solution I've found is this: <?php if(strpos($_SERVER['HTTP_USER_AGENT'],"MSIE")) { session_cache_limiter('public'); } session_start(); ?>

« previous php.notes (#208320) next »