[FX.php List] Strange problem with editing records

David Ness dness at bondedbuilders.com
Fri Mar 7 08:56:18 MST 2008


It certainly sounds as though the session is expiring. I think the
default is something like 30 minutes. Make certain that the '-recid' or
some other key value isn't stored in a $_SESSION variable.

 
David Allen Ness
Database Systems Programmer
Web Applications Developer
 
 
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Friday, March 07, 2008 10:53 AM
To: FX.php Discussion List
Subject: [FX.php List] Strange problem with editing records

I've inherited a web app that was started by someone else, and the  
client has called me with a strange problem.

There are about 8 or so pages of forms, all of which edit the same  
record...

The user logs in, starts editing their record; if they should leave  
their browser open and idle for an hour or so, and then return, and  
then complete the editing of one of these forms, the data isn't  
written to THEIR record, but rather the first record in the database.

 From what I can see in the code, all he's doing is starting a  
session; I see no place where he's even storing the current user's  
RECID in a variable. However, when they return to their browsers (and  
this has happened consistently) after an hour or more, the value of  
RECID seems to either get forgotten or changed to the RECID of record  
#1.

Has anyone seen this sort of behavior? I didn't write this web app,  
and it's extremely convoluted considering the simplicity of the actual  
site, which isn't helping in my search for the reason for this anomaly.

Any help would be mucho appreciated... thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
Member of FileMaker Business Alliance and FileMaker TechNet

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: tech at longtermsolutions.com
      ICQ: 159333060

--------------------------
Contact us for FileMaker hosting and programming for all versions of  
FileMaker
PHP * CDML * Full email services * Free DNS hosting * Colocation *  
Consulting

_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list