Author Topic: _SESSION problem  (Read 940 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
_SESSION problem
« on: October 03, 2017, 03:25:28 PM »
So my problem is that if I set value to seesion eg.
Code: (php) [Select]
$_SESSION['something'] = 'something';once page has been refreshed/or opened another one (from module) everything is destroyed/unset. I didn't use unset nor any other kind of session destroying function in my code.

Is there any way to avoid that?

I need this just to set notification/alert messages in module as respond to the tasks so module doesn't have to run cwp's alert script every time unnecessarily.