companyinfo = session('payment_user'); if (empty(session('payment_user'))) { redirect(U('Public/login')); } } }