Skip to content

Commit cba7713

Browse files
committed
docs: add note
1 parent 12c7bb9 commit cba7713

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ This method will work in exactly the same way as PHP's
363363
This must be the last session-related operation that you do during the same request.
364364
All session data (including flashdata and tempdata) will be destroyed permanently.
365365

366+
.. note:: You do not have to call this method from usual code. Cleanup session
367+
data rather than destroying the session.
368+
366369
.. _session-stop:
367370

368371
stop()

0 commit comments

Comments
 (0)