Session::put (method)

Purpose:

Adds information to a user\'s session

Example:

Session::put(\'newData\',\'Signed in with google\');

Data Type(s):

Session::put(name,value)

Location:

users/classes/Session.php

Details:

Adds to the session variable. The name attribute can be arbitrary
For instance, UserSpice adds a language attribute to tell us what
language a user prefers.  That could look like

<?php Session::put(\'us_lang\',\'en-US\');