Frames and Sessions

From: Date: Tue, 13 Nov 2001 21:31:00 +0000
Subject: Frames and Sessions
Groups: php.general 
Request: Send a blank email to php-general+get-74413@lists.php.net to get a copy of this message
Hi All I have a client who has presented me with a near finished website that uses frames. She would like me to build a simple PHP cart into it. I've built simple carts before without drama, but this one has me baffled. I have avoided using frames in almost everything I've done to date and don't understand them that well. I can't figure out how I'm going to maintain a session across the three seperate HTML files in the frameset. Is there a way of doing this, or do I need to pull it all apart and have all the parts just included into one PHP-generated HTML file? I have tried starting a session in the main frameset file, then adding <?=SID?> to the URLs of the frame files, which sort of works but breaks where JavaScript is used for buttons in one of the frames. JavaScript doesn't seem to cope with the PHP tags. Thanks Michael -- ###################################### Michael Hall Web: http://openlearningcommunity.org Mail1: admin@openlearningcommunity.org Mail2: m.hall@latis.net.au Ph/Fax: (+61 8) 8953 1442 ######################################

« previous php.general (#74413) next »