feature request: Light Session Management

22 views
Skip to first unread message

Zoltán Tóth

unread,
Jun 1, 2026, 12:04:39 PM (3 days ago) Jun 1
to Chromium-discuss
I want a simple session managment system that handles only the open URLs, nothing else. I want to manage the session files at custom locations and to be able to open and close sessions independently from each others. I do not know about such feature in Chromium.

Why is the current situation not good for me?

I found the command line option '--user_data_dir'. It is the closest to what i want, but still too far. For me it is too heavy, does too much. It saves additional info [settings, cookies, history, cache, ...]. The important info for me - the URLs - get lost among the others. The additional info

* makes session-restore on browser-crash less reliable and more difficult;
* makes archiving and version control of sessions difficult; i tried: my Brave populated my new empty user-dir with 100 MB just by me visiting a single website's root page;
* probably prevents me from continuing my sessions with other browsers [like Firefox] [now none of the browsers support this feature which i request, let alone many of them, but i think all browsers will];
* contains the settings; this causes my settings-changes to have to be done for all my sessions repeatedly [for example: if i realize that tabs are better for me vertically then i have to verticalize them in all my sessions]; i see that this separate settings solution is useful in some cases [for example: different security levels for different tasks] but it misfits normal light work-sessions; this property alone causes me to see --user_data_dir as rather user- or profile- management [like operating-system user-accounts] than session-management.

The feature i request:

1: In the window data-structure: add a new field "urls_file" with type text. Is empty by default, otherwise is a file-path to an URL-list file. The value dictates whether the window is in light-session mode.
2: Introduce the corresponding command line option "--urls_file=...".
3: In light-session mode: do not do any heavy-session management, instead:
1: At window-open event: open the URLs in urls_file, one tab for each (in discarded state).
2: At window-close event: save the current tab-URLs to urls_file. It is okay to lose tab-grouping.

No need for:
* GUI.
* User-wide registry of light sessions.
* Periodic autosave. It is enough to save just at the close of the window.
* Storing anything other than the URLs in the light session files. That could easily be worse, rather than better. If only the URLs are stored then the file format can be a list of lines for each URL simply, giving easy control over them for the user.

Possible later improvement:
If the URLs file path points to a folder then consider each file in it as URL-files and group the tabs accordingly.

Reply all
Reply to author
Forward
0 new messages