We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9f503b commit ecb8c5aCopy full SHA for ecb8c5a
1 file changed
user_guide_src/source/libraries/sessions.rst
@@ -106,6 +106,9 @@ uses the session handlers' mechanism provided by PHP. Using session data is
106
as simple as manipulating (read, set and unset values) the ``$_SESSION``
107
array.
108
109
+.. note:: In general, it is bad practice to use global variables.
110
+ So using the superglobal ``$_SESSION`` directly is not recommended.
111
+
112
In addition, CodeIgniter also provides 2 special types of session data
113
that are further explained below: flashdata and tempdata.
114
0 commit comments