Roundcube Community Forum

 

problems with session variables

Started by ilr, April 30, 2009, 04:43:14 PM

Previous topic - Next topic

ilr

index.php

// not logged in -> show login page
if (empty($USER->ID))
{
rcmail_login($_SESSION["www_user"], $_SESSION["www_pass"], $host);
if (
$_task == "login")
header("Location: $RoundCubeDIR");
exit;
}


I have the session variables set, but this does not seem to produce anything other than a blank screen for an auto-login..

does anyone know what I'm doing wrong?

JohnDoh

is the code you pasted above the exact same as what you used in the file? becuase you cant use curley speach marks (") in PHP, you have to use proper ones ("), also you have " rather than ".

If you get a blank page they go look in the RC error log and it should tell you why.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...