Roundcube Community Forum

Release Support => Requests => Topic started by: lufox on February 17, 2009, 05:03:48 PM

Title: Direct Login...
Post by: lufox on February 17, 2009, 05:03:48 PM
Hi!
I'm looking for a possibility within an existing framework/login system to log into an e-Mail-account of RoundCube without typing in any login information again.

Do I have to start a session or can I use my existing session for this?

I hope you can understand what I mean.

Greetings
Flo
Title: No Ideas?
Post by: lufox on February 20, 2009, 05:32:17 PM
Hi!
Are there no ideas?

Or cant you understand, what i mean?

Greetings
Flo.
Title: Direct Login...
Post by: rosali on February 21, 2009, 01:11:02 AM
You can't use your exisiting session by default. RoundCube handles sessions by database. If you want to use your existing session you have to hack ./program/include/session.inc.
Comment out:

session_set_save_handler('rcube_sess_open', 'rcube_sess_close', 'rcube_sess_read', 'rcube_sess_write', 'rcube_sess_destroy', 'rcube_sess_gc');