Join us in Munich, Germany June 17th for BoxLang and BoxLang AI Training
Register
LogoLogo
⌘Ctrlk
JavaDocsDownloadTrySourceSupportAI SDK
GitBook Assistant
GitBook Assistant
GitBook Assistant
Good evening

I'm here to help you with the docs.

⌘Ctrli
AI Based on your context
LogoLogo
  • Introduction
    • Overview
    • Installation
    • Running BoxLang
    • BoxLang Cloud Servers
    • IDE & Tooling
    • Maven Integration
    • Runtime Configuration
    • Program Structure
    • Syntax & Semantics
    • Classes & O.O.
    • Templating Language
    • Reference
      • API Docs
      • Lexical Elements
      • Types
      • Built-in Functions
        • array
        • async
        • binary
        • cache
        • cli
        • conversion
        • decision
        • encryption
        • format
        • i18n
        • io
        • java
        • jdbc
        • list
        • math
        • net
        • query
        • runtime
        • scheduler
        • string
        • struct
        • set
        • system
          • ApplicationRestart
          • ApplicationStartTime
          • ApplicationStop
          • BoxAnnounce
          • BoxAnnounceAsync
          • BoxAST
          • BoxModuleReload
          • BoxRegisterInterceptionPoints
          • BoxRegisterInterceptor
          • BoxRegisterRequestInterceptor
          • BoxUnregisterInterceptor
          • BoxUnregisterRequestInterceptor
          • CallStackGet
          • CreateGUID
          • CreateObject
          • CreateUUID
          • DE
          • DebugBoxContexts
          • Dump
          • Duplicate
          • echo
          • EncodeForHTML
          • GetApplicationMetadata
          • GetBaseTagData
          • GetBaseTagList
          • GetBaseTemplatePath
          • GetBoxContext
          • GetBoxRuntime
          • GetBoxVersionInfo
          • GetClassMetadata
          • GetComponentList
          • GetContextRoot
          • GetCurrentTemplatePath
          • GetFileFromPath
          • GetFunctionCalledName
          • GetFunctionList
          • GetModuleInfo
          • GetModuleList
          • GetRequestClassLoader
          • GetSemver
          • GetSystemSetting
          • GetTempDirectory
          • GetTickCount
          • htmlEditFormat
          • IIF
          • Invoke
          • IsInstanceOf
          • JavaCast
          • ObjectDeserialize
          • ObjectSerialize
          • PagePoolClear
          • Print
          • Println
          • RunThreadInContext
          • SessionInvalidate
          • SessionRotate
          • SessionStartTime
          • Sleep
          • SystemCacheClear
          • SystemExecute
          • SystemOutput
          • Throw
          • Trace
          • URLDecode
          • URLEncodedFormat
          • writeDump
          • WriteLog
          • WriteOutput
        • temporal
        • type
        • xml
        • zip
      • Components
      • Exceptions
    • BoxLang+
    • +Modules
    • Application.bx
    • Async Programming
    • Components
    • Caching
    • File Handling
    • HTTP/S Calls
    • Interceptors
    • JDBC & Databases
    • Java Interop
    • Logging
    • OS Integration
    • Modules
    • MatchBox
    • SOAP Web Services
    • Server-Sent Events (SSE)
    • Testing
    • MVC
    • Dependency Injection
Powered by GitBook
For the complete documentation index, see llms.txt. This page is also available as Markdown.
  1. BoxLang Language
  2. Reference
  3. Built-in Functions
  4. system

SessionRotate

Creates a new session (using new session ids) and copies session scope into this new session, then invalidates the old session.

Method Signature

SessionRotate()

Arguments

This function does not accept any arguments

Examples

Related

  • ApplicationRestart

  • ApplicationStartTime

  • ApplicationStop

  • BoxAnnounce

  • BoxAnnounceAsync

  • BoxAST

  • BoxModuleReload

  • BoxRegisterInterceptionPoints

  • BoxRegisterInterceptor

  • BoxRegisterRequestInterceptor

  • BoxUnregisterInterceptor

  • BoxUnregisterRequestInterceptor

  • CallStackGet

  • CreateGUID

  • CreateObject

  • CreateUUID

  • DE

  • DebugBoxContexts

  • Dump

  • Duplicate

  • echo

  • EncodeForHTML

  • GetApplicationMetadata

  • GetBaseTagData

  • GetBaseTagList

  • GetBaseTemplatePath

  • GetBoxContext

  • GetBoxRuntime

  • GetBoxVersionInfo

  • GetClassMetadata

  • GetComponentList

  • GetContextRoot

  • GetCurrentTemplatePath

  • GetFileFromPath

  • GetFunctionCalledName

  • GetFunctionList

  • GetModuleInfo

  • GetModuleList

  • GetRequestClassLoader

  • GetSemver

  • GetSystemSetting

  • GetTempDirectory

  • GetTickCount

  • htmlEditFormat

  • IIF

  • Invoke

  • IsInstanceOf

  • JavaCast

  • ObjectDeserialize

  • ObjectSerialize

  • PagePoolClear

  • Print

  • Println

  • RunThreadInContext

  • SessionInvalidate

  • SessionStartTime

  • Sleep

  • SystemCacheClear

  • SystemExecute

  • SystemOutput

  • Throw

  • Trace

  • URLDecode

  • URLEncodedFormat

  • writeDump

  • WriteLog

  • WriteOutput

PreviousSessionInvalidateNextSessionStartTime

Last updated 5 months ago

Was this helpful?

LogoLogo

Social Media

  • X
  • FaceBook
  • LinkedIn
  • YouTube

Bug Tracking

  • Runtimes
  • IDE
  • Modules

Support

  • Professional
  • Community
  • Slack

Copyright & Register Trademark by Ortus Solutions, Corp

  • Method Signature
  • Arguments
  • Examples
  • Related

Was this helpful?