note 66628 deleted from function.session-start by bjori

From: Date: Thu, 25 May 2006 12:48:23 +0000
Subject: note 66628 deleted from function.session-start by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-112190@lists.php.net to get a copy of this message
Note Submitter: Peter C Reason: useless ---- IE7 is, I believe, going to cause mayhem for PHP users and developers. Actually, it's possible that it will stop many interactive systems working as they have always worked. When the server sends nocache - IE7 has decided to issue a second GET request for the page. This breaks the way the world has always worked - the user does a CLICK, the browser does a GET, the server returns a page, end of the transaction. IE7 is given a user click and GETs the page, gets any further parts of the page, and then GETs the page again when nocache is sent. It you are making the page on the fly, then it will happen twice. (Stand-by for your database engines to be overloaded) If that page contains some state - perhaps a random number in a hidden variable that is created each time a page is made, then your code will have created a new number with the secret GET, but the user will be sending back the result of the initial GET. Now there are probably work arounds, and I am going to have to find some, I don't think that allowing the user to cache pages will work for most form sequences - certainly most of my code contains the inbuilt assumption that a transaction is happening and unprovoked calls to scripts which store and manipulate state just don't happen.

« previous php.notes (#112190) next »