ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 24th, 2012, 10:06 AM
mjc mjc is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 1 mjc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 52 m 33 sec
Reputation Power: 0
Question Form data going missing

Hi

I have a timesheet system which has been in use for about 10 years. Recently an issue has arisenn whereby a number of users are having problems entering their hours.

Basically the form data goes missing between the data entry and the database update. The error displayed is of an undefined element.

I have been trying for some time to work out what is going on and have got as far as ascertaining that
a) the data is entered and the submit button is clicked
b) the template defined in the "form action" is loaded
c) the form fields are missing

I have not been able to reproduce this locally but having put some further debugging into the live system have noticed that there is a difference between 'client.cfid/cftoken' and session.cfid/cftoken'.

The system has been running so long and I have not had to do anything to it so my CF is a tad rusty but this struck me as odd, and a possible reason for the form data going missing.

Does thi sound as if it might be the problem, and if so any ideas why it might be happening.

I do not host the system myself, that is done by Hostway, so I do not have any access to the server.

Any help gratefully received.

Cheers

Martin

Reply With Quote
  #2  
Old January 24th, 2012, 05:40 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
It could be. Client and Session are two different scopes. So data in the session scope isn't available in the client scope, and vice versa. Neither of these has anything to do with the form scope, by the way. But if data from the form scope is being put into one of the shared scopes (session or client), and some other code is looking for it in the other scope, it won't be there.

Does this application use CFCs? Depending on the server load, if the data is stored in a CFC within the session scope you can also get race conditions and threading issues if updates to the session-scoped data are not properly locked.

That said, without access to the code to run locally or access to the server, this is going to be extremely difficult to debug.

Last edited by kiteless : January 24th, 2012 at 05:44 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Form data going missing

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap