I’ve read to doc about session (http://electron.atom.io/docs/api/session/). And it says:
If partition starts with persist:, the page will use a persistent session available to all pages in the app with the same partition. if there is no persist: prefix, the page will use an in-memory session. If the partition is empty then default session of the app will be returned.
I tried using partition name: “persist:globalsess”, but after app quit (process exits) and restart the app, session/cookie is no longer exists.
How can I persist the session to disk and get it back into using after app restart?