Currently the OC_RC app auto-logins to RC on OC_Login and refreshes the session every other minute.
Even if you never access the OC_RC app.
Proposal:
On OC_Login, save user password safely for later use by storing a pair of keys on user session and the encrypted password plus a passphrase on a cookie. So a part is on server memory and the other part on user's browser.
Currently the OC_RC app auto-logins to RC on OC_Login and refreshes the session every other minute. Even if you never access the OC_RC app.
Proposal:
Will this work?