• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.