simple-mvc-framework/v2 — pull request #21 by viraj-khatavkar (2014-07-02 09:50:53+00:00)
Title: Changes in app/helpers/session.php

@author - Viraj Khatavkar

1. You can now set multiple session values through an array.

E.g. - $session_values = array(
'key1' => 'value1',
'key2' => 'value2',
'key3' => 'value3',
)

Now set session as :

\helpers\session::set($session_values);

The session will be set for all the key-value pairs in array.