End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CGI::Session#delete
delete
lib/cgi/session.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/cgi/session.rb, line 379
def delete
@dbman.delete
@dbprot.clear
end
Delete the session from storage. Also closes the storage.
Note that the session’s data is not automatically deleted upon the session expiring.