Update session.md

Added documentation for the once function added in PR #4137.