VLSM Sessions¶
Session controls are in the Tool Drawer — click the toolbar button on the VLSM tab. They let you save your planner inputs and share them via a link.
Saving¶
- Click Save Session.
- A shareable link is displayed. Copy it and bookmark it or share it with colleagues.
The session stores: parent network, prefix length, and all subnet rows (name + host count).
Restoring¶
Visit the shareable link. The VLSM form is pre-filled with the saved values. Click Calculate to generate the results.
Alternatively, paste a session token into the Restore Session field and click Restore.
Session expiry¶
Sessions expire after a configurable TTL (default 30 days). The expiry is shown in the panel. Operator-configurable via $session_ttl_days in config.php.
Storage¶
Sessions are stored in a SQLite database. The default path is data/sessions.sqlite relative to the app directory; this can be overridden with $session_db_path in config.php. The file is blocked from direct web access by .htaccess. Expired sessions are pruned on each save.
Disabling sessions¶
Set $session_enabled = false in config.php to hide the session controls and disable the SQLite database.
API access¶
Sessions can also be created and retrieved programmatically:
POST /api/v1/sessions— save a payload, receive an 8-hex-char IDGET /api/v1/sessions/:id— retrieve a session by its 8-hex-char ID
See REST API for curl examples.