Disbale coockies on starting a new session in browser

I have configured my main.php with

under components section

        'session' => array (

            'cookieMode' => 'none',


But when i use ‘cookieMode’ set to ‘none’ … may be it do not save data to sesssions… cause i am not getting any data stored in session on the other page… My main goal is that “My systme has cart i have coockie login set to false when use books an order and close the browser and open the browser and returned to site the order still exist there… what i dont want in my system. data should be flushed on browser close. and when user return to the site… there should be fresh page no orders in cart.”