Re: web refreshing problem

From: Date: Mon, 09 Mar 2009 14:12:10 +0000
Subject: Re: web refreshing problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-289649@lists.php.net to get a copy of this message
Andrew Williams wrote:
Hi, my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the old one. I am using apache server on windows. Please help.
have you per chance got all data saved in the session and are using a script like if( something in session ) { show session } else if( something in post ) { add form data to session } else { show only the form } three common causes are: 1- you're not actually processing the new form data 2- your browser isn't sending the form data second time round 3- your browser is caching the page (very very unlikely) regards

« previous php.general (#289649) next »