How do multiple pages share session


i use electron to load a online page which will open a new page( But the new window can’t read the session record wrote by the first page. So how can i make the two pages share the same session?


you can create an invisible window to handle background tasks
var win = new BrowserWindow({ width: 400, height: 225, show: false })

As per the new API Docs App