problems with sessions login/logout and frames

From: Date: Thu, 21 Jun 2001 11:28:36 +0000
Subject: problems with sessions login/logout and frames
Groups: php.general 
Request: Send a blank email to php-general+get-54718@lists.php.net to get a copy of this message
Hi there! I'm happy the mailing lisi is finally activated :) Well guys, i've spent bad time using sessions with frames : i have a website that dislpays some tour products, and i have four frames in most of the pages! i have a logon button in the top frame where once clicked it asks for the login and password then resistered a variable session and set it to true then reload the whole page and activates the tarifs which where invisible in the not logged version! then when i logout i unregister the logged varaible then reload the whole page! Well i also start session in each page even if it's not registered so as to test whether it's registerd and set to true ! therefore i always have a session even not logged which is wierd! also i stsrt the session in the index file then send the session id to the 4 frames in their urls as test.php?phpsessid=$phpsessid... i also add the "?phpsessid=$phpsessid" to each link in each page/frame! Here are the problems i encounter: 1-a session is always created cause i have to test! 2-with IE nad Netscape i have to clear the temporary files and set history to 0 otherwise it always shows the old page wich was for instance not logged however now i'm logged out ! but it still do me that after surfing a bit cause it remmbers the first pages ! Please help me !these drive me mad ! _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

« previous php.general (#54718) next »