FRAME SESSION

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bigbenxy
Forum Newbie
Posts: 1
Joined: Sun Jan 16, 2005 2:39 am

FRAME SESSION

Post by bigbenxy »

Hi,
ich hab das Problem, dass ich irgendwie keine session id an FRAMES weitergeben kann. :?:
Wie kann ich dass machen?
or in english

how can i submit one session id to different frames?

Thanks

mfg
Ben
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Not sure I follow. This works for me...
index.php

Code: Select all

<?php
    session_start();
    $_SESSION&#1111;'foo'] = 'bar';
?>
<frameset cols="50%, 50%">
    <frame src="left.php">
    <frame src="right.php">
</frameset>
left.php / right.php

Code: Select all

<?php
    session_start();
    print_r($_SESSION);
?>
Post Reply