The timeout notification that appears in the header of Studio is controlled by two settings: session.timeout in portal-ext.properties and the web.xml settings in the WebLogic Server running Studio.
The values for these settings should be the same. In other words, if you set the timeout to 30 minutes in portal-ext.properties, it should match in web.xml. By default, session.timeout=30 in portal-ext.properties.