Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

Keep Session with fXML

posted by thix_rj_br 8 years ago

Hello, I'm from Brazil, so apologize about the bad English.

I'm trying to use fXML to first authenticate then to retrieve information form a website.

The problem is that the session is not kept from a call to the other.

The code piece that matters is bellow.

$login  = new fXML('mywebsite?user='.$user.'&pass='.$pass, 5, TRUE);
		if($login->error_code == 0){
			$url = 'mywebsite?action=ChamadoCadastrar&estabelecimentoid='.$estabelecimentoid.
			$xml = new fXML($url, 5, TRUE);

When it calls "$xml = fXML($url, 5, TRUE);" the user is no longer logged in.

Can anyone help?

Thanks in advance;