Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session_start() fails on SSL amfphp remoting

Status
Not open for further replies.

clemrock

Programmer
May 20, 2004
118
US
Hello,

I've come across a very strange problem that only occurs on as secure server in IE in windows. The problem arises in the remoting class when I call session_start() function. I know there have been other folks w/ similar problems but I haven't seen a solution as of yet.

Unfortunately, this program relies heavily on session variables such as opening xml files that are named according to user id.

I've spent about a week w/ this problem to no avail.

Here's a bit of sample code:


class swf_db_interface # extends verify_login
{
var $sess_user_id = '';

function swf_db_interface()
{
$this->methodTable = array
(
"get_conversation_data" => array
(
"description" => "Get Conversations according to login",
"access" => "remote"
)
);

#---- get parent class data ---------------------------------------
session_start(); //!!!! this causes the whole problem in windows IE over SSL
$this->sess_data = $_SESSION;
$this->sess_user_id = $this->SESSION['user_id_session'];
}
}

desparate for help,

Clem C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top