Hi ben.
Arh! so happy you replied! thank god! Anyway nice work on formtools. WONDERFUL!
My form tools is on v2.0.0-beta-2010010
My API is $g_api_version = "1.0.0-beta-20090908";
oh! so inserting ft_api_clear_form_sessions(); will solve the problem?
This is my code.. I have already been using ft_api_clear_form_sessions("engage"); but it does not seems to help. The problem still lies.
(sorry if i flooded :p)
anyway, i just updated my API from http://www.formtools.org/download_file.p...e_type=zip
i guess its updated to 1.0.1
Arh! so happy you replied! thank god! Anyway nice work on formtools. WONDERFUL!
My form tools is on v2.0.0-beta-2010010
My API is $g_api_version = "1.0.0-beta-20090908";
oh! so inserting ft_api_clear_form_sessions(); will solve the problem?
This is my code.. I have already been using ft_api_clear_form_sessions("engage"); but it does not seems to help. The problem still lies.
PHP Code:
<?php
require_once("/home/tuitionh/domains/domain.com/public_html/formtools/global/api/api.php");
$fields = ft_api_init_form_page();
$REFERER = getenv('HTTP_REFERER'); // get ref URL
if ( $REFERER == 'http://domain.com/site/engagephp' || $REFERER == 'http://domain.com/site/engageatutorform4.php')
{
ft_api_clear_form_sessions("engage");
}
elseif ( $REFERER == 'http://domain.com/site/beform4.php' || $REFERER == 'http://domain.com/site/beform4.php')
{
ft_api_clear_form_sessions("be");
}
elseif ( $REFERER == 'http://domain.com/site/apply.php' || $REFERER == 'http://domain.com/site/applyt.php')
{
ft_api_clear_form_sessions("apply");
}
elseif ( $REFERER == 'http://domain.com/site/contactus.php' || $REFERER == 'http://domain.com/site/contactus.php')
{
ft_api_clear_form_sessions("contactus");
}
?>
(sorry if i flooded :p)
anyway, i just updated my API from http://www.formtools.org/download_file.p...e_type=zip
i guess its updated to 1.0.1