Problem with SESSIONS
PermalinkI have several .php pages, and I need to add them on site. There are two ways: 1. use iFrame (using the plugin "Dynamic iFrame") for this or 2. use php function (using the plugin "Code Blocks") include()
On those pages script process some data and gets some variables. I save this variables to the array $_SESSION[]
In case with php function include() I lose variables from array $_SESSION when I open another page on site. So, I think that CMS destroy variables from arrays after opening another page on site.
Can you help, how to store variables using include() function?
In case with iFrame everything is OK, because full page refreshing is not initiated, only iFrame part of page.
Does anyone have any idea what I can do to keep session values? I prefer to use the code include.