Author Topic: problems with session variables  (Read 2919 times)

Offline ilr

  • Newbie
  • *
  • Posts: 1
problems with session variables
« on: April 30, 2009, 04:43:14 PM »
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?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
problems with session variables
« Reply #1 on: May 04, 2009, 04:41:42 AM »
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…