Create session_v2.c

version 2