I must say that a strike a bad luck this time.
I used Chronoforms once in a while for projects and liked it.
This time I tried to store the Joomla session using the following in the unsubmit code of the form
As you see, I created a field in the database called session_id to store the session in order to help me keep track of the guest user along many forms they will navigate on the site..
It look like chronoforms is blanking this exact value. Maybe it was a leftover of another version, but as soon as I change the code and the database for something else... like u_sess_id it start to work.
I haven't got the time to search the code, maybe I missed a setting somewhere to store the Joomla session. I would have thought that this value would be store in the database as well as the UID, CD_USER_ID and so on.
Thanks.
Hugues Lamy - http://m2i3.com
I used Chronoforms once in a while for projects and liked it.
This time I tried to store the Joomla session using the following in the unsubmit code of the form
<?php
$session = &JSession::getInstance();
$session_id = $session->getId();
JRequest::setVar( "session_id", $session_id);
?>
As you see, I created a field in the database called session_id to store the session in order to help me keep track of the guest user along many forms they will navigate on the site..
It look like chronoforms is blanking this exact value. Maybe it was a leftover of another version, but as soon as I change the code and the database for something else... like u_sess_id it start to work.
I haven't got the time to search the code, maybe I missed a setting somewhere to store the Joomla session. I would have thought that this value would be store in the database as well as the UID, CD_USER_ID and so on.
Thanks.
Hugues Lamy - http://m2i3.com