I call this popup wizard
<script>
if (document.main_form.wizard_opened.value==\'\') {
popup_wizard = window.open(\''.POPUP_SALES_CHANNELS_CREATION_WIZARD.'?form_action=edit&sales_channels_id='.$_SESSION['current_organizer'].'&'.session_name().'='.session_id().'\',\'\',\'width=800,height=600,top=\'+(screen.height-600)/2+ \',left=\'+(screen.width-800)/2+ \',resizable=yes,scrollbars=yes,windowstate=maximize\');
document.main_form.wizard_opened.value = 1;
document.main_form.form_modified.value = 0;
if (document.main_form.screen_cache_modified != null) {
document.main_form.screen_cache_modified.value = 0;
}
}
</script>
In the popup:
define ('TOOLS_TICKETCENTER', dirname(FILE).'/../../../tools/ticketcenter');
define ('OBJECT_STORED_IN_SESSION',TOOLS_TICKETCENTER.'/lib/tr3/object/objects.class.php');
define ('PASSED_SHARED_CONTEXT_IN_SESSION',TOOLS_TICKETCENTER.'/lib/tr3/passedsharedcontext/passed_shared_context.class.php');
define ('CONCURRENCY_CONTROLLER_IN_SESSION',TOOLS_TICKETCENTER.'/../concurrencycontrol/data/concurrency_controller.class.php');
//objects stored in session must be define before session start
require_once(OBJECT_STORED_IN_SESSION);
require_once(PASSED_SHARED_CONTEXT_IN_SESSION);
require_once(CONCURRENCY_CONTROLLER_IN_SESSION);
session_start();
// make it never cache on the client browser
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
require_once(dirname(FILE).'/../config.php');
if (USE_CLICKSTREAM) {
list($usec, $sec) = explode(" ",microtime());
global $start_time;
$start_time = ((float)$usec + (float)$sec);
}
The headache is I don't have this problem with IE on one of my coworker, on our integration server (very powerful).