[FX.php List] Using key other than RECID

Jonathan Schwartz jonathan at eschwartz.com
Sat Sep 24 13:33:11 MDT 2005


Hello again.

Last on the list of important enhancements to include in my first 
solution is to change the key field used to get from page to page.  I 
am currently using recid, which appears on the URL.  Since this is 
generated by FMP and is sequential, it is easy to guess the next 
RECID and view another person's record.

I am using session.fp5 for the logon page and index.php page (copied 
from "Dogwalk"].  User is arriving to logon.php with user name and 
password.  After that, the solution uses recid through the rest of 
the screens: Detail.....Edit....Review...End.

I understand that I can use SessionID, which will be invisible on the URL.

Is this the way to go, or is there a better method?

Here's the URL if you'd like to look:

http://64.81.72.113/mvsd2/logon.php	Test Username and password are shown.

Would be happy to post code.  Thanks!

Jonathan
-- 

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