Re: [phplib] PHPLib and frames examples? From: A.C.N.S. Information and News (infomail <email protected>)
Date: 01/30/01

----- Original Message -----
From: "Max A. Derkachev" <kot <email protected>>
To: "A.C.N.S. Information and News" <infomail <email protected>>
Cc: "PHPLib List" <phplib <email protected>>
Sent: Tuesday, January 30, 2001 10:28 AM
Subject: Re: [phplib] PHPLib and frames examples?

> Hello A.C.N.S.,
>
> Tuesday, January 30, 2001, 11:21:09 AM, you wrote:
>
> ACNSIaN> Is there anyone out there that has some examples of using phplib
with frames? If so could you please send 'em my way. I'm having
unbelievable problems with getting phplib to work correctly
> ACNSIaN> with frames. Thanks.
>
> One simple rule - only ONE frame should be allowed to write the
> session data. For the PHPLib, that means that page_close() should be
> called only in ONE frame, other frames use session readonly.
That's what I thought. ok. Thanks.

One other thing. What about SSI? I have an index.php3 with this structure:

include("application.inc.php3"); // session is started in include and
closed as well.

page_open(array("sess"=>"cart_sess")); //re-opened here
/* initialize the SESSION variable if necessary */

?>

<script>
open("<?echo $sess->purl("$CFG->wwwroot/shopping/navigation.php3?p=0"); //
Can see SID here as well.
?>", "Navigation", 'toolbar=0,width=220,height=320')
window.name = "main";
</script>

<?
include($CFG->templatedir.$SESSION["lang"]."/index.ihtml"); //and first time
this is run can see SID.
?>

the only problem is that I NEVER get a cookie and once I click on a link on
a page I lose the SID. This is driving me crazy. It makes no sense.

Chuck

>
>
>
> --
> Best regards,
> Max A. Derkachev mailto:kot <email protected>
> Symbol-Plus Publishing Ltd.
> phone: +7 (812) 324-53-53
> http://www.Books.Ru -- All Books of Russia
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>