driveflexfuel
New Member
- Messages
- 159
- Reaction score
- 0
- Points
- 0
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0
The following are all the ways i use session variables. Maybe i am using one in a way the server does not like.
The following are all the ways i use session variables. Maybe i am using one in a way the server does not like.
Code:
session_cache_expire(30);
session_start();
if (isset($_SESSION['var_name']))
$var = $_session['var_name']