librelist archives

« back to archive

What is the right time to set session_auto_save_file

What is the right time to set session_auto_save_file

From:
zwz
Date:
2014-03-14 @ 10:31
In my .conkerorrc, there is:

var today = today || new Date();
require("session.js");
session_auto_save_file = 
today.getFullYear()+"-"+(today.getMonth()+1)+"-"+today.getDate();
session_auto_save_auto_load = true;

I just want to manage the sessions according to the date.

The sessions are saved in a file as expected when conkeror exits.
However, when conkeror restarts, all the sessions in the file are
cleared, let alone auto-loading the file.

It seems to me that session_auto_save_file is set a little too late.
Can anybody help me out?