Re: Sessions in Frames...confused

From: Date: Mon, 06 Dec 2004 14:10:35 +0000
Subject: Re: Sessions in Frames...confused
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203580@lists.php.net to get a copy of this message
PHP, and it's sessions, knows absolutely nothing about frames. A frame is just another page, the browser just happens to display it inside of another page. From a session standpoint, you should treat each frame as an independent page. On Dec 5, 2004, at 9:12 PM, Ryan A wrote:
Hi, Reading the different articles on phpbuilder/devshed/phpfreaks etc has left me a bit confused.. will start from the beginning so you guys(and girls) can give me some advise and show me the right path again ;-) I have a normal user/pass login screen, after which I start a session for the client and the client should be presented with the "control panel" for his software. The control panel is in frames and is split in 2 (sideFrame, mainFrame) sideFrame is for the navigation. Do I have to start a session in index.php which is calling the sideFrame and mainFrame or just in mainFrame or just in sideFrame or in all?? ARRRRGH! going nuts! The idea is if the session expires he should be present with the login page again...I am not doing anything special or complicated, just need to make sure he is who he says he is and give him access as long as his sesssion is good. Thanks, Ryan -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577


« previous php.general (#203580) next »