Re: PHP Sessions with Frames support???
Rick Langschultz wrote:[color=blue]
> I am wondering if I can use sessions in a site that utilizes frames? There
> is a "header", "footer","navig ation_page" and "main" frame, they are the
> names of the frames and they are a typical 4 frame display. The main page is
> called index.php and all of the named frames have matching file names with a
> .php extension ...[/color]
<?php // index.php
session_start() ;
$_SESSION['test'] = 'test session';
echo <<<HTML
<!-- frameset here -->
HTML;
?>
<?php // header.php
session_start() ;
echo <<<HTML
<!-- header here -->
<!-- see page source im browser -->
<!-- {$_SESSION['test']} -->
HTML;
?>
Same thing for the other frames.
--
--= my mail box only accepts =--
--= Content-Type: text/plain =--
--= Size below 10001 bytes =--
PHP Sessions with Frames support???
Collapse
This topic is closed.
X
X
-
Guest replied -
PHP Sessions with Frames support???
I am wondering if I can use sessions in a site that utilizes frames? There
is a "header", "footer","navig ation_page" and "main" frame, they are the
names of the frames and they are a typical 4 frame display. The main page is
called index.php and all of the named frames have matching file names with a
..php extension, running apache2triad1.1 .9. I am trying to create a secure
site for viewing a private user database management system for orders.
Eventually it will have Paypal integration I am hoping. Thanks, please mail
me at ABSLeadCoder@co x.net, Please if possible send a small example as I am
only a beginner with php. but know asp and (x,d)html like my palm of my
hand.
Tags: None
Leave a comment: