I’m having problems with obtaining a value that starts as URL parameter.
I have a form on a page that is accessed by a url that has a parameter - product_id. I have used ‘Session storage manager to save this value in a Browser session. ( See screen shot )
I need to use this value in the page that the form re-directs to. I need to use the value in a Server action. My understanding is I need to define the session… BUT WHERE?. I see I can define it from Globals/input/$_SESSION
, but I can also define a session from API/input/$_SESSION
. ( See screen shots )
So this is confusing me. The purpose of this is I need to use it in a database query as a condition value ( see screen shots )
and then values in from that query to be used in the Data insert below it. ( see screen shot )
In the API action for the starter page I have used a set session to capture the value but i’m not sure this is correct.
I hope this make sense.
Thanks in advance!
Last updated: