Spec-Zone.ru › ColdFusion

sessionRotate

Creates a new session (using new session ids) and copies session scope into this new session, then invalidates the old session. Used after a valid login to prevent session fixation.

sessionRotate() → returns void

  • CF10+
  • Lucee
  • BL 1.0.0+
  • See Also: sessioninvalidate

    Compatibility

    ColdFusion:

    Version 10+ Does not rotate jsessionid when JEE sessions are enabled, only works with ColdFusion sessions (CFID,CFTOKEN).

    Links more information about sessionRotate

    • SessionRotate for JEE Sessions - A UDF for rotating JEE sessions.

    Examples
    Sample code invoking the sessionRotate function

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/sessionrotate

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API