|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-20 03:37 UTC] sniper@php.net
[2003-10-20 22:51 UTC] thxmike at hotpop dot com
[2003-10-21 00:22 UTC] thxmike at hotpop dot com
[2003-10-21 06:21 UTC] sniper@php.net
[2003-10-21 11:01 UTC] thxmike at hotpop dot com
[2003-11-17 18:41 UTC] sniper@php.net
[2003-11-19 23:01 UTC] thxmike at hotpop dot com
[2003-11-20 04:15 UTC] magnus@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 19:00:02 2025 UTC |
Description: ------------ I am trying to use sessions in a frameset. When I change the page using a link from another frame the $_SESSION is unavailable. I am not certain if the $_SESSION is available in all frames. It does not appear so. I though the session is available until the browser closes. Reproduce code: --------------- Page 1: include('class/adodb/adodb.inc.php'); include('class/Hotel/hotel.php'); include('class/DatabaseObject/DatabaseObject.php'); session_start(); $_SESSION['temporary'] ='temporary'; Second page include('class/adodb/adodb.inc.php'); include('class/Hotel/hotel.php'); include('class/DatabaseObject/DatabaseObject.php'); session_start(); print_r ($_SESSION); Expected result: ---------------- Array ( [temporary] => temporary ) Actual result: -------------- Array()