Forums

Read a session variable in external php page

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.
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.