I click on the View button and it sets the session variable and takes them to the inventory_details page and displays the correct Inventory Number based on the item that i chose.
Now, i have a query setup to pull the inventory details from the databased based on the session variable that was set. However, that query is not working at all. It doesn’t show any data or results.
Server sessions and browser sessions are different things.
When using the session manager in App Connect you are setting a browser session, not a server session.
So using $_SESSION on the server side will return nothing, as you have not set a server session.
that worked - thank you. But quick question…is there a way to pull query data based on a browser session variable instead? or only from server session variable.
Well yes, you can pass the browser session to the server action. Create a GET variable and use it to filter the query, then on your page bind the session value to the get parameter.
But as i already asked - why do you want to use browser sessions and not just filter your data using an url parameter?
i am trying to prevent the URL from displaying the InventoryNum for security reasons. This customer has security restrictions on the items that are available to be seen.