[FX.php List] Best Practices for Forms
Jonathan Schwartz
jonathan at eschwartz.com
Mon Jul 17 13:31:18 MDT 2006
Thanks Gjermund,
To be honest, I have been unsuccessful getting sessions to work at
all up to this point. I get the dreaded "Headers already loaded"
error....and I'm sure I know why. I know about the rule of placing
the command at the very top of the page. However, I use a lot
includes, and I've figured out that you can not put the
session_start() command on any of the included pages because they
load after the base page had been loaded. Thus, the error.
I think that I will have another try at it.
Thanks.
Jonathan
At 8:42 PM +0200 7/17/06, Gjermund Gusland Thorsen wrote:
>option 2 is the way to go
>
>Look up: session_start()
>
>Do FMNew
>keep the -recid of current record in _SESSION variable
>and do FMEdit on the next pages submitted.
>
>ggt667
--
Jonathan Schwartz
Schwartz & Company
817 Marin Drive
Mill Valley, CA 94941
Phone: 415-381-1852
jonathan at eschwartz.com - http://www.eschwartz.com
More information about the FX.php_List
mailing list