Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Session/Session.php error codeigniter 3

Please follow the below steps:

1) Go to system/libraries/Session/Session.php

2) Comment session_start() by adding //.

3) Go down to line around 312-315 where it says Security is king, and comment out the following lines:

ini_set('session.use_trans_sid', 0);
ini_set('session.use_strict_mode', 1);
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
ini_set('session.hash_function', 1);
ini_set('session.hash_bits_per_character', 4);
4) Then go to your main index.php ( the root index.php )

5) Add session_start() at the top once.

It works for me.
Comment

PREVIOUS NEXT
Code Example
Php :: php self referencing form 
Php :: if user name is wordpress 
Php :: how to redirect to another page in php after submit 
Php :: laravel backup 
Php :: laravel where null 
Php :: how to include javascript in php 
Php :: access json with php 
Php :: php string functions 
Php :: php detect crawler 
Php :: laravel reload relationship 
Php :: how to add column to database in laravel 
Php :: wp php get rows number from mysql 
Php :: laravel inline if else if 
Php :: php isset form submit 
Php :: php prepared statement upload file 
Php :: how to print on console with phpunit 
Php :: php string to date 
Php :: laravel redis cache 
Php :: eloquent insert 
Php :: laravel 8 with jetstream 
Php :: how to free session variable in php codeigniter 
Php :: get number of days between two dates php 
Php :: insert into laravel 8 
Php :: how to search like in php 
Php :: wordpress options 
Php :: fillable vs guarded laravel 
Php :: orderby not working with groupby laravel 
Php :: how to trim text php 
Php :: laravel eloquent get one column value 
Php :: CHECKING IF FILE IS EMPTY IN PHP 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =