maximebf / atomik

Micro framework for PHP 5.3+ [UNMAINTAINED]
MIT License
46 stars 18 forks source link

No data in echo Atomik::get('session/username'); #11

Closed sebastienhouzet closed 11 years ago

sebastienhouzet commented 11 years ago

I use the Session's plugin in my config.

When i use : Atomik::set('session/username','test'); On other page, i have no data in : Atomik::get('session/username');

The doc i used : http://atomikframework.com/docs/session.html#starting-and-accessing-the-session

Thx

maximebf commented 11 years ago

It's a typo in the doc but it should be session.username, the dot (.) being the path delimitier. the doc is fixed

Atomik::set('session.username', 'toto');
Atomik::get('session.username');

(the slash was used in previous versions)