RE: client variables disappearing
If you're using CF5 or earlier, yes, there is a limit (65k). http://www.macromedia.com/v1/Handlers/index.cfm?ID=22902&Method=Full -Original Message- From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 4:28 PM To: CF-Talk Subject: client variables disappearing Is there a limit to the total amount of information stored in client variables per user? I am having random client variables become undefined for no reason. It is not consistently the same variable, it's not a loss of state issue as we have cfid/cftoken in the url and I'm allowing cookies to be set in my browser as well. The length of variables.testvar = 66817, which makes me wonder if I am hitting a 65000 limit somewhere. We are storing client variables in a sql2k db. I have tried upping the Long Text Buffer Size up to the max it will allow(99), but this doesn't seem to help. (I'm not sure if it should or not, but something to try). Does the cf service need to be restarted for this change to take effect? What else might be causing this? The macromedia forums don't seem to have any entries similiar to this, but it's hard to believe no one has hit this limit before. Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: client variables disappearing
Thanks, Debbie. I assume the same limit does not apply to session variables so I might just recode a few areas. >>-Original Message- >>From: Debbie Dickerson [mailto:[EMAIL PROTECTED]] >>Sent: Monday, December 02, 2002 3:44 PM >>To: CF-Talk >>Subject: RE: client variables disappearing >> >>If you're using CF5 or earlier, yes, there is a limit (65k). >>http://www.macromedia.com/v1/Handlers/index.cfm?ID=22902&Method=Full >> >> >>-Original Message- >>From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]] >>Sent: Monday, December 02, 2002 4:28 PM >>To: CF-Talk >>Subject: client variables disappearing >> >> >>Is there a limit to the total amount of information stored in client >>variables per user? >> >>I am having random client variables become undefined for no reason. It is >>not consistently the same variable, it's not a loss of state issue as we >>have cfid/cftoken in the url and I'm allowing cookies to be set in my >>browser as well. >> >> >>>evaluate("client." & i)> >> >> >> >> >>The length of variables.testvar = 66817, which makes me wonder if I am >>hitting a 65000 limit somewhere. >> >>We are storing client variables in a sql2k db. I have tried upping the >>Long >>Text Buffer Size up to the max it will allow(99), but this doesn't >>seem >>to help. (I'm not sure if it should or not, but something to try). Does >>the cf service need to be restarted for this change to take effect? >> >>What else might be causing this? The macromedia forums don't seem to have >>any entries similiar to this, but it's hard to believe no one has hit this >>limit before. >>Matthew P. Smith >>Web Developer, Object Oriented >>Naval Education & Training Professional >>Development & Technology Center >>(NETPDTC) >>(850)452-1001 ext. 1245 >>[EMAIL PROTECTED] >> >> >> >> ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: Client variables disappearing
not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Client variables disappearing
I agree.sounds like the Client variable is expiring. Yo need to store it in a ccokie on the users pc (providing they accept cookies) or store it in a db on the server and pull this info when they log in. -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 419 4235 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: 01 November 2000 14:50 To: CF-Talk Subject: RE: Client variables disappearing not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Client variables disappearing
but wouldn't client variables be saved in the user pc (I selected registry) and CF would retrieve them as needed using the ID and Token? Bismarck Perez -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:50 AM To: CF-Talk Subject: RE: Client variables disappearing not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Client variables disappearing
they're stored in server registry when you do that. best practice: store client variables in a database (set this in the cf administrator). ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 10:03 AM To: CF-Talk Subject: RE: Client variables disappearing but wouldn't client variables be saved in the user pc (I selected registry) and CF would retrieve them as needed using the ID and Token? Bismarck Perez -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:50 AM To: CF-Talk Subject: RE: Client variables disappearing not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Client variables disappearing
The point is that the Client variables will expire. If you write it in a ccokie or into a db they won't -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 419 4235 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: 01 November 2000 15:21 To: CF-Talk Subject: RE: Client variables disappearing they're stored in server registry when you do that. best practice: store client variables in a database (set this in the cf administrator). ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 10:03 AM To: CF-Talk Subject: RE: Client variables disappearing but wouldn't client variables be saved in the user pc (I selected registry) and CF would retrieve them as needed using the ID and Token? Bismarck Perez -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:50 AM To: CF-Talk Subject: RE: Client variables disappearing not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Client variables disappearing
agreed and egg-knowledged!! ~Simon -Original Message- From: Andy Ewings [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 10:43 AM To: CF-Talk Subject: RE: Client variables disappearing The point is that the Client variables will expire. If you write it in a ccokie or into a db they won't -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20 7387 8890 -- New Zealand http://www.thoughtbubble.co.nz/ Tel: +64 (0) 9 419 4235 -- The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). Any views or opinions presented are solely those of the author and do not necessarily represent those of Thoughtbubble. This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to disclose, copy, distribute, or retain this message. Please notify us on +44 (0)207 387 8890. -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: 01 November 2000 15:21 To: CF-Talk Subject: RE: Client variables disappearing they're stored in server registry when you do that. best practice: store client variables in a database (set this in the cf administrator). ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 10:03 AM To: CF-Talk Subject: RE: Client variables disappearing but wouldn't client variables be saved in the user pc (I selected registry) and CF would retrieve them as needed using the ID and Token? Bismarck Perez -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:50 AM To: CF-Talk Subject: RE: Client variables disappearing not sure, but it sounds to me like you should be setting a cookie, not a client variable. ~Simon -Original Message- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 9:38 AM To: CF-Talk Subject: Client variables disappearing Hello there, I have this little problem, I'm saving the last order number on a client variable (I need to pull that order next time the user hits the site, no matter if they have not completed the order), in the application.cfm I'm checking if the client.order is defined, if it is not then I assigned a new order number since that means the user completed the previous order, the problem that I'm getting is that when the user comes back the order number gets a new number meaning that the client.order field was not found what I'm doing wrong Bismarck Perez Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]