My application is a site for a real estate agent and I'm having trouble with a resource developed with a shopping cart-like session to add more than one property to a single proposal. The problem that is happening is that when selected a property is created the session however, there are times that the property appears in the list of requests and has times that do not, and has times that only appears after a certain time (delay).
Can this problem be related to ob_start () and end_flush ()? Could anyone give me any hints of what might be going on?
My application looks like this:
<?php
ob_start();
session_start();
require('includes/paginator.class.php');
require('includes/cookie.class.php');
require('config/get.php');
require('config/config.php');
require_once ('includes/recaptchalib.php');
require_once('classes/Conexao.php');
require_once('classes/Carrinho.php');
<conteúdo estatico head>
<conteúdo estatico header>
<conteúdo dinamico com includes das páginas(contato/institucional/pedido/etc)>
<conteúdo estático footer>
end_flush();
?>