Re: Frames and Sessions

From: Date: Wed, 14 Nov 2001 07:34:40 +0000
Subject: Re: Frames and Sessions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-74546@lists.php.net to get a copy of this message
I agree :-)) J "Jimmy Elab" <j_elab@hotmail.com> ha scritto nel messaggio news:3BF1DA9A.CDAA25F9@hotmail.com... > Michael Hall wrote: > > can't figure out how I'm going to maintain a session across the three > > seperate HTML files in the frameset. > > You don't! PHP and your browser will do it for you. It doesn't matter > whether you're in frames or not. All that matters is the cookie that is > automagically generated by the session manager and is sent to the server > on each request. > > You only need a call to session_start() in each file that relies on the > session variables, and a session.register('varname') for each var once > you've decided you want it being saved accross pages.

« previous php.general (#74546) next »