note 54057 added to ref.session

From: Date: Wed, 22 Jun 2005 15:09:45 +0000
Subject: note 54057 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-90793@lists.php.net to get a copy of this message
Problems with IE and Content Advisor. It maybe obvious to some, but as its taken me over a week to sort this out, I will post it here. If you have Content Advisor enabled in IE, it appears to quietly add an extra GET HTTP request to the root of your website. This will get processed by your default document, so if your default document is index.php, every legitimate request will be immediately followed by another hit to index.php with a blank query string. If you increment something in a session, it will be the second hit that has the highest value, but the browser is showing the results of the first GET. Its easy to see, just add a mail('youremail@address.com') at the start of your default document, turn on content advisor and see how many emails you get ! I have generated a 'pics-label' and added to the META tags on every page and this appears to make IE happy. You can get a pics-label at www.icra.org. Hope this helps ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54057 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54057&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54057&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90793) next »