At the moment, it is not possible to stay logged in to QuickBooks Online for 30 days. QuickBooks Online uses a timeout feature for your security. You can follow these steps on how you can change the timeout duration.
Go to Settings ⚙️, then select Account and Settings.
Select Advanced.
Select Edit ✎ from the Other preferences section.
Choose 1, 2, or 3 hours from the Sign me out if inactive for ▼ dropdown menu.