You can access the current session manager via this.session and it returns the object Illuminate\Session\SessionManager current session configuration.
{{ this.session.put('key', 'value') }}{{ this.session.get('key') }}{% if this.session.has('key') %}
<h1>we found it in the session</h1>
{% endif %}{{ this.session.forget('key') }}{{ this.session.flush() }}