Regenerate session ID and remove all session data code example Example: Regenerate session ID and remove all session data $request->session()->invalidate();