In Laravel 9, you can delete earlier session stored values using the forget method provided by the Illuminate\Support\Facades\Session facade.
To delete a single value from the session, you can call the forget method and pass in the key of the value you want to delete. For example:
This will delete the value associated with the key 'key' from the session.
To delete all values from the session, you can call the flush method. For example:
This will delete all values stored in the session.
Note that when you call the flush method, it will delete all values stored in the session, not just the values from the current session.