Welcome Guest, Not a member yet? Register   Sign In
The problem with storing a variable in $_SESSION in an external script
#1

Hello!
To update CI from 2.2.6 to 3.0.4 I used $_SESSION
Through an external script I put in the $_SESSION array variable that was available in the controller after sending the data.
But in version 3.0.4 this design does not work. In $_SESSION there is no such variable.
The script is located at site.net/el/scr/script.php ie it is not a CI library.
How do I pass a variable in $_SESSION, so that it is available not only in the script "script.php" but in the controller.
Or how do I load in script.php the CI sessions class, so in the "script.php" I could create a variable using set_userdata?
Reply


Messages In This Thread
The problem with storing a variable in $_SESSION in an external script - by Iosif - 02-05-2016, 01:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB