Skip to main content
Inspiring
February 21, 2021
Question

CF2021 CFSETUP EXPORT/IMPORT

  • February 21, 2021
  • 1 reply
  • 171 views

OS: Windows 2016 (Azure VM)

Version: Coldfusion 2021

Command: call c:\ColdfusionX\cfsetup\cfsetup.bat import all cfinst.json c:\ColdfusionX\cfusion

 

Is anyone else having issues importing the sessionCookieTimeout parameters using CFSETUP IMPORT/EXPORT ALL?

It was set to  "-1", but came up as "-60" is the JSON file.   I am assuming it is recording the value in seconds.   CFSETUP failes with any number below zero..  

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    February 22, 2021

    For older ColdFusion versions, say CF10, you may not specify a negative value of sessionCookieTimeout in the ColdFusion Administrator. Only in the file neo-runtime.xml. That might be the reason for the failures.

     

    You could proceed as follows:

    Remove sessionCookieTimeout from the list to be imported/exported.

    After installation and configuration (using the imported/exported settings), edit neo-runtime.xml and give sessionCookieTimeout the value -1.