added boolean to enable/disable session_start()
Merge branch 'native_session_switch'