I thought about that, but the application isn't timing out (I can see the properly set values) and even if it did, I have an 'if not structKeyExists(application,'promo')' snippet in there to take care of that.
I've tried surrounding my assignment of the promo CFC to the session-based shopping cart with cflock tags, and that does seem to help! It seems rather odd, since I'm only reading values, but then I've never been a good citizen when it comes to locking, so this might be the lesson that changes my evil ways... I'll continue testing to see if it's actually fixed, or just another one of those flukes that likes to confuse us coders. While I'm writing, I might as well mention that I seem to have a problem with dissappearing sessions. Sometimes, and this has been nearly impossible to reproduce, my shopping cart will just empty itself. It's remarkable, even if I don't change subdomains, just going from one page to another will wipe it out. I hope I don't need to lock all my session calls as well, because there are a lot! I've already had to force anyone not typing in the 'www' to be redirected to www.sitename.com. For awhile, I was losing sessions when the user switched to the SSL site, but I can't reproduce that problem either. Strange. On Mon, 22 Nov 2004 15:37:53 -0500, Patrick McElhaney <[EMAIL PROTECTED]> wrote: > My guess is your application timed out and you didn't re-initialize > the application variable. Then you messed up the local code by adding > the structCopy(). I'm not sure what structCopy() does to a CFC but I > would be surprised if it copies the private variables. > > But that's just a guess. > > Patrick > > -- > Patrick McElhaney > 704.560.9117 > http://pmcelhaney.blogspot.com > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at > [EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
