convert session data to cookie data