Ruby 3.3 リファレンスマニュアル

instance method CGI::Session#session_id

session_id -> StringRuby 4.0 で削除[permalink][rdoc][edit]

セッション ID を返します。