Re: Frames and Sessions

From: Date: Tue, 13 Nov 2001 12:20:46 +0000
Subject: Re: Frames and Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74417@lists.php.net to get a copy of this message
On Mar 13 Nov 2001 18:31, Michael Hall wrote: > 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. Start the session in the main html page, and use trans-sid. Use with care, cause I don't use frames, so I never tested it. saludos... ;-) -- Porqué usar una base de datos relacional cualquiera, si podés usar PostgreSQL? ----------------------------------------------------------------- Martín Marqués | mmarques@unl.edu.ar Programador, Administrador, DBA | Centro de Telematica Universidad Nacional del Litoral -----------------------------------------------------------------

« previous php.general (#74417) next »