Read a session variable in external php page

Access session variables in an external PHP page from ChronoForms.

Overview

The session variable set in CF is not accessible on an external PHP page due to session handling or path issues.
Move the external processing code into a new ChronoForms action or form to ensure proper session management and variable sharing.

Answered
ChronoForms v6
mi michaelFFW 09 Sep, 2020
I have a form that redirects to an external php page to process data.
I am trying to send to that page a session variable so the php form can use that variable in a sql read.
however, the external php form never sees the session variable.
I have it set in chronoforms v6 - data builder 2 as type session, name invoice_S and value as {var:invoice_set} and can read it back inside the chronoforms form correctly.
Have used the standard php session of
session_start();
$invo = $_SESSION['invoice_S'];

Stumped as why it does not work.
Thank you.
mi michaelFFW 10 Sep, 2020
Answer
1 Likes
Never mind. I moved external page into a new chronoform form.
So sessions between worked fine.
This topic is locked and no more replies can be posted.