Sets a value in the session.
void put(String key, dynamic value) { _data[key] = value; _isDirty = true; }