Some thoughts, never tried any of these.

It may be possible to use the cfapplication tag within your cfc,
giving you access to application and session variables. Although using
CF session variables for a web service might needlessly complicate
matters. It would be quite an interesting hack though if you got
session vars working though, would have to pass cfid/cftoken or
uuid back and forth in some way...

If that doesn't work, the server scope might.

If all else fails...use the file system to manage state, using wddx if
complex types are necessary.

-- 
mailto:[EMAIL PROTECTED]
Thursday, August 7, 2003, 8:12:37 PM, you wrote:

kr> Well, I'm not sure it warranted an "of course not", seeing as how it did work fine 
when called from ColdFusion (I assume CF does not access it through the "web service" 
channels, even though it's
kr> stated to be a remote function).  That would make sense, I just was not aware that 
CF will not maintain state on calls to web services.  I was hoping that it could 
maintain state through some
kr> mechanism similar to session management, which I don't believe is unreasonable to 
fathom.

kr> Kevin


>>On Thursday, Aug 7, 2003, at 11:57 US/Pacific, Ruggiero, Kevin D. wrote:
>>> The problem with doing this from ASP.NET is that the CFC does not 
>>> appear to
>>> maintain its state between the function calls.
>>
>>Of course not - Web Services are effectively stateless - you are 
>>creating a new instance for every Web Service call.
>>
>>Sean A Corfield -- http://www.corfield.org/blog/
>>
>>"If you're not annoying somebody, you're not really alive."
>>-- Margaret Atwood
>>
kr> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to