I made this CMS that would allow a band to login and update their show list. The problem I am having is that after they have updated their show list and then use the link to go to the page that displays the shows the page is not updated.. I have to hit the refresh button to have the new shows displayed.
What am I doing wrong??
I am using PHP and MYsql,
-Thanks Brad-
this is the code for the "View" Page
PHP Code:
<?php include("pwp.php"); ?>
<?
include("dbinfo.inc.php");
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM contacts ORDER BY id ASC";
$result=mysql_query($query);
You might want to play with the cache control in the header of your document to make sure the client isn't cacheing the document. It also might be a setting in your browser (I've had problems with IE cacheing certain jsp pages and images) but you most likely will be able to fix it by specifying the correct parameters in the header.