Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Session Class is Acting Strange!
  • This is strange...
    \Session::set( 'user', array(
    
     'id' => static::get_id( $username ),
     'access' => 1,
    
     'username' => $username // Optional.
    
    ) );
    
    Debug::dump( Session::get( 'user' ) );
    Debug::dump( Session::get( 'user.access' ) );
    
    APPPATH/views/index.php @ line: 5
    
    Variable #1:
    array(5) {
      ["id"]=>
      int(1)
      ["access"]=>
      int(1)
      ["mjau"]=>
      int(123)
      ["uuu"]=>
      int(12345)
      ["username"]=>
      string(8) "daGrevis"
    }
    
    APPPATH/views/index.php @ line: 6
    
    Variable #1:
    string(1) "4"
    

    I'm using latest "develop branch" with no extra Session class' configuration.
  • After cookies clearing all works.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion