| | |
| | | /* |
| | | +-------------------------------------------------------------------------+ |
| | | | RoundCube Webmail IMAP Client | |
| | | | Version 0.2-20080620 | |
| | | | Version 0.2-20080829 | |
| | | | | |
| | | | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland | |
| | | | | |
| | |
| | | get_input_value('_pass', RCUBE_INPUT_POST, true, 'ISO-8859-1'), $host)) { |
| | | // create new session ID |
| | | unset($_SESSION['temp']); |
| | | sess_regenerate_id(); |
| | | rcube_sess_regenerate_id(); |
| | | |
| | | // send auth cookie if necessary |
| | | $RCMAIL->authenticate_session(); |
| | |
| | | |
| | | |
| | | // handle keep-alive signal |
| | | if ($RCMAIL->action=='keep-alive') { |
| | | if ($RCMAIL->action == 'keep-alive') { |
| | | $OUTPUT->reset(); |
| | | $OUTPUT->send(); |
| | | } |
| | | // save preference value |
| | | else if ($RCMAIL->action == 'save-pref') { |
| | | $RCMAIL->user->save_prefs(array(get_input_value('_name', RCUBE_INPUT_POST) => get_input_value('_value', RCUBE_INPUT_POST))); |
| | | $OUTPUT->reset(); |
| | | $OUTPUT->send(); |
| | | } |