@DeepDiver1975 Isn't that enough already? https://github.com/owncloud/core/blob/a36bf5c2b5430eb4bcbabead92c9d2c1a669b035/lib/private/session/internal.php#L23