Re: Sessions in Frames...confused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


As far as I know there is no harm in calling session_start() in all your Iframes and Frames. According to theory a new session will only be started if one has not been started already. However there have been several discussions on this list in the past where this behaviour was not observed, and you may want to look these up in the archives.


--
Raditha Dissanayake.
------------------------------------------------------------------
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux