I have session variable on `gear.php` view as

```
$_SESSION['dbRecords'] = $product_number;

```

but when I go to different view eg. order.php, I am unable to retrieve value using

```
$product_number = $_SESSION['dbRecords'];

```

`order.php` loads on submit. 

I am using CodeIgniter 3.

How can I get the value of `$_SESSION['dbRecords']`?